Class: Renuo::Cli
- Inherits:
-
Object
show all
- Defined in:
- lib/renuo/cli.rb,
lib/renuo/cli/version.rb
Defined Under Namespace
Modules: Commands, Services
Constant Summary
collapse
- VERSION =
"4.20.0"
- NAME =
"renuo-cli"
Instance Method Summary
collapse
Instance Method Details
#start ⇒ Object
30
31
32
33
34
35
36
37
38
39
|
# File 'lib/renuo/cli.rb', line 30
def start
require "commander/import"
program :version, Renuo::Cli::VERSION
program :description, "Renuo CLI"
program :help_paging, false
Dir[File.expand_path("cli/{commands,services}/**/*.rb", __dir__)].each { |f| require f }
default_command :help
end
|