Class: Pike13::CLI::Commands::Desk::Pack

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

Instance Method Summary collapse

Methods inherited from Base

base_usage, format_options, handle_argument_error, printable_commands

Methods included from ThorNestedSubcommand

included

Instance Method Details

#get(id) ⇒ Object



10
11
12
13
14
15
# File 'lib/pike13/cli/commands/desk/pack.rb', line 10

def get(id)
  handle_error do
    result = Pike13::Desk::Pack.find(id)
    output(result)
  end
end