Sha256: 5d1c9f3c659eacd65a7bb5f9102bfb52c9a23b28bf9cee141484ccd32c6fecc6

Contents?: true

Size: 867 Bytes

Versions: 4

Compression:

Stored size: 867 Bytes

Contents

# typed: strict
# frozen_string_literal: true

require_relative "srb/bump"
require_relative "srb/coverage"
require_relative "srb/lsp"
require_relative "srb/sigs"
require_relative "srb/tc"

module Spoom
  module Cli
    module Srb
      class Main < Thor
        desc "lsp", "Send LSP requests to Sorbet"
        subcommand "lsp", Spoom::Cli::Srb::LSP

        desc "coverage", "Collect metrics related to Sorbet coverage"
        subcommand "coverage", Spoom::Cli::Srb::Coverage

        desc "bump", "Change Sorbet sigils from one strictness to another when no errors"
        subcommand "bump", Spoom::Cli::Srb::Bump

        desc "sigs", "Translate signatures from/to RBI and RBS"
        subcommand "sigs", Spoom::Cli::Srb::Sigs

        desc "tc", "Run typechecking with advanced options"
        subcommand "tc", Spoom::Cli::Srb::Tc
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spoom-1.5.4 lib/spoom/cli/srb.rb
spoom-1.5.3 lib/spoom/cli/srb.rb
spoom-1.5.2 lib/spoom/cli/srb.rb
spoom-1.5.1 lib/spoom/cli/srb.rb