Class: Takeltau::Self

Inherits:
SubCommandBase show all
Includes:
LoggingModule, SelfCommands
Defined in:
lib/takeltau/self/cli.rb

Overview

tau self

Instance Method Summary collapse

Methods included from SelfCommands

#self_commands

Methods included from LoggingModule

#initialize_logging, #log

Methods inherited from SubCommandBase

banner, subcommand_prefix

Instance Method Details

#commandsObject

List all commands.



23
24
25
26
27
28
# File 'lib/takeltau/self/cli.rb', line 23

def commands
  commands = self_commands
  exit false if commands == false
  say commands
  true
end

#versionObject

Print takeltau semantic version number.



38
39
40
41
# File 'lib/takeltau/self/cli.rb', line 38

def version
  say VERSION
  true
end