Class: Pike13::CLI::Commands::Front::Person

Inherits:
Base
  • Object
show all
Defined in:
lib/pike13/cli/commands/front/person.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Base

format_options, handle_argument_error, printable_commands

Methods included from ThorNestedSubcommand

included

Class Method Details

.base_usageObject

Override the command name display to use “people” instead of “person”



9
10
11
# File 'lib/pike13/cli/commands/front/person.rb', line 9

def self.base_usage
  "front people"
end

Instance Method Details

#meObject



14
15
16
# File 'lib/pike13/cli/commands/front/person.rb', line 14

def me
  handle_error { output(Pike13::Front::Person.me) }
end