Class: Staticz::BaseCommand

Inherits:
Object
  • Object
show all
Includes:
TTY::Option
Defined in:
lib/commands/base_command.rb

Instance Method Summary collapse

Instance Method Details

#runObject



35
36
37
38
39
40
41
# File 'lib/commands/base_command.rb', line 35

def run
  if params[:version]
    puts Staticz::VERSION
  else
    puts help
  end
end