Class: TerraspaceBundler::CLI

Inherits:
Command show all
Defined in:
lib/terraspace_bundler/cli.rb,
lib/terraspace_bundler/cli/base.rb,
lib/terraspace_bundler/cli/bundle.rb,
lib/terraspace_bundler/cli/purge_cache.rb

Defined Under Namespace

Modules: Help Classes: Base, Bundle, PurgeCache

Instance Method Summary collapse

Methods inherited from Command

alter_command_description, command_help, dispatch, exit_on_failure?, website

Instance Method Details

#completion(*params) ⇒ Object



9
10
11
# File 'lib/terraspace_bundler/cli.rb', line 9

def completion(*params)
  Completer.new(CLI, *params).run
end

#completion_scriptObject



15
16
17
# File 'lib/terraspace_bundler/cli.rb', line 15

def completion_script
  Completer::Script.generate
end

#versionObject



20
21
22
# File 'lib/terraspace_bundler/cli.rb', line 20

def version
  puts VERSION
end