in lib/gdk/command/cells.rb [5:32]
def run(args = [])
subcommand = args.shift
case subcommand
when 'up'
up
when 'start'
start
when 'stop'
stop
when 'restart'
restart
when 'status'
status
when 'update'
update
else
id = subcommand.to_s.delete_prefix('cell-').to_i
return run_in_cell(id, args) if cell_manager.cell_exist?(id)
GDK::Output.warn('Usage: gdk cells up')
GDK::Output.warn(' gdk cells start|stop|restart')
GDK::Output.warn(' gdk cells status')
GDK::Output.warn(' gdk cells update')
GDK::Output.warn(' gdk cells cell-<ID> <command...>')
abort
end
end