Module: Rfix::CLI::Command
- Extended by:
- Dry::CLI::Registry
- Defined in:
- lib/rfix/cli/command.rb,
lib/rfix/cli/command/all.rb,
lib/rfix/cli/command/base.rb,
lib/rfix/cli/command/help.rb,
lib/rfix/cli/command/info.rb,
lib/rfix/cli/command/lint.rb,
lib/rfix/cli/command/local.rb,
lib/rfix/cli/command/setup.rb,
lib/rfix/cli/command/branch.rb,
lib/rfix/cli/command/config.rb,
lib/rfix/cli/command/origin.rb,
lib/rfix/cli/command/status.rb,
lib/rfix/cli/command/extension.rb
Defined Under Namespace
Classes: All, Base, Branch, Config, Extension, Help, Info, Lint, Local, Origin, Setup, Status
Class Method Summary collapse
-
.setup ⇒ Object
register “help”, Help.
Class Method Details
.setup ⇒ Object
register “help”, Help
21 22 23 24 25 26 27 |
# File 'lib/rfix/cli/command.rb', line 21 def setup Dry::CLI.new(self).call rescue Error => e abort e. else exit 0 end |