Class: FluidCLI::Commands::Theme::Help

Inherits:
Object
  • Object
show all
Defined in:
lib/fluid_cli/commands/theme/help.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.helpObject



15
16
17
# File 'lib/fluid_cli/commands/theme/help.rb', line 15

def self.help
  "A dummy command.\nUsage: {{command:#{FluidCLI::TOOL_NAME} example}}"
end

Instance Method Details

#call(_args, _name) ⇒ Object



7
8
9
10
11
12
13
# File 'lib/fluid_cli/commands/theme/help.rb', line 7

def call(_args, _name)
  puts 'neato'

  if rand < 0.05
    raise(CLI::Kit::Abort, "you got unlucky!")
  end
end