Sha256: acbce375454aafa34ae8c8470926f3e30fcab84abd49c120e428417792785834

Contents?: true

Size: 1.86 KB

Versions: 11

Compression:

Stored size: 1.86 KB

Contents

module RBS
  class CLI
    class LibraryOptions
      attr_accessor core_root: Pathname?
      attr_accessor config_path: Pathname?

      attr_reader libs: Array[String]
      attr_reader dirs: Array[String]
      attr_reader repos: Array[String]

      def initialize: () -> void

      def loader: () -> EnvironmentLoader

      def setup_library_options: (OptionParser) -> OptionParser
    end

    interface _IO
      def puts: (*untyped) -> void

      def print: (*untyped) -> void

      def flush: () -> void
    end

    attr_reader stdout: _IO
    attr_reader stderr: _IO

    def initialize: (stdout: IO, stderr: IO) -> void

    COMMANDS: Array[Symbol]

    def library_parse: (OptionParser, options: LibraryOptions) -> void

    def parse_logging_options: (OptionParser) -> void

    def has_parser?: () -> bool

    def run: (Array[String] args) -> void

    def run_ast: (Array[String], LibraryOptions) -> void

    def run_list: (Array[String], LibraryOptions) -> void

    def run_ancestors: (Array[String], LibraryOptions) -> void

    def run_methods: (Array[String], LibraryOptions) -> void

    def run_method: (Array[String], LibraryOptions) -> void

    def run_validate: (Array[String], LibraryOptions) -> void

    def run_constant: (Array[String], LibraryOptions) -> void

    def run_paths: (Array[String], LibraryOptions) -> void

    def run_prototype: (Array[String], LibraryOptions) -> void

    def run_prototype_file: (String format, Array[String]) -> void

    def run_vendor: (Array[String], LibraryOptions) -> void

    def run_parse: (Array[String], LibraryOptions) -> void

    def run_test: (Array[String], LibraryOptions) -> void

    def run_collection: (Array[String], LibraryOptions) -> void

    def run_annotate: (Array[String], top) -> void

    def test_opt: (LibraryOptions) -> String?

    def collection_options: (Array[String]) -> OptionParser
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rbs-2.6.0 sig/cli.rbs
rbs-2.5.1 sig/cli.rbs
rbs-2.5.0 sig/cli.rbs
rbs-2.4.0 sig/cli.rbs
rbs-2.3.2 sig/cli.rbs
rbs-2.3.1 sig/cli.rbs
rbs-2.3.0 sig/cli.rbs
rbs-2.2.2 sig/cli.rbs
rbs-2.2.1 sig/cli.rbs
rbs-2.2.0 sig/cli.rbs
rbs-2.1.0 sig/cli.rbs