Class: Dapp::CLI::Command::Base
- Defined in:
- lib/dapp/cli/command/base.rb
Direct Known Subclasses
Deployment::CLI::Command::Base, Dimg::CLI::Command::Base, Kube::CLI::Command::Base
Constant Summary
Constants inherited from Dapp::CLI
Instance Method Summary collapse
- #cli_options(**kvargs) ⇒ Object
-
#initialize ⇒ Base
constructor
A new instance of Base.
- #run(_argv = ARGV) ⇒ Object
Methods included from Helper::Cli
#cli_wrapper, #composite_options, #in_validate!, #list_msg_format, #parse_options, #parse_subcommand, #prepare_subcommand, #required_argument, #run_subcommand
Methods included from Helper::Trivia
class_to_lowercase, #class_to_lowercase, #delete_file, #kwargs, #make_path, #search_file_upward
Constructor Details
Instance Method Details
#cli_options(**kvargs) ⇒ Object
63 64 65 |
# File 'lib/dapp/cli/command/base.rb', line 63 def (**kvargs) config.merge(**kvargs) end |
#run(_argv = ARGV) ⇒ Object
59 60 61 |
# File 'lib/dapp/cli/command/base.rb', line 59 def run(_argv = ARGV) raise end |