Class: Ddenv::CLI
- Inherits:
-
Object
- Object
- Ddenv::CLI
- Defined in:
- lib/ddenv/cli.rb
Constant Summary collapse
- ROOT_CMD =
Cri::Command.new_basic_root.modify do name "ddenv" usage "ddenv [options] [command] [options]" summary "manage developer environment" description "Manages your local developer environment." end
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(args) ⇒ CLI
constructor
A new instance of CLI.
Constructor Details
#initialize(args) ⇒ CLI
Returns a new instance of CLI.
23 24 25 |
# File 'lib/ddenv/cli.rb', line 23 def initialize(args) @args = args end |
Instance Method Details
#call ⇒ Object
27 28 29 |
# File 'lib/ddenv/cli.rb', line 27 def call ROOT_CMD.run(@args) end |