module TerraspaceBundler class CLI < Command desc "bundle SUBCOMMAND", "bundle subcommands" long_desc Help.text(:bundle) subcommand "bundle", Bundle desc "completion *PARAMS", "Prints words for auto-completion." long_desc Help.text(:completion) def completion(*params) Completer.new(CLI, *params).run end desc "completion_script", "Generates a script that can be eval to setup auto-completion." long_desc Help.text(:completion_script) def completion_script Completer::Script.generate end desc "version", "prints version" def version puts VERSION end end end