Class: Ddenv::CLI

Inherits:
Object
  • Object
show all
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

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

#callObject



27
28
29
# File 'lib/ddenv/cli.rb', line 27

def call
  ROOT_CMD.run(@args)
end