class Gzr::Commands::Dashboard
Public Instance Methods
cat(dashboard_id)
click to toggle source
# File lib/gzr/commands/dashboard.rb, line 55 def cat(dashboard_id) if options[:help] invoke :help, ['cat'] else require_relative 'dashboard/cat' Gzr::Commands::Dashboard::Cat.new(dashboard_id, options).execute end end
import(file,dest_space_id)
click to toggle source
# File lib/gzr/commands/dashboard.rb, line 71 def import(file,dest_space_id) if options[:help] invoke :help, ['import'] else require_relative 'dashboard/import' Gzr::Commands::Dashboard::Import.new(file, dest_space_id, options).execute end end
mv(dashboard_id, target_space_id)
click to toggle source
# File lib/gzr/commands/dashboard.rb, line 37 def mv(dashboard_id, target_space_id) if options[:help] invoke :help, ['mv'] else require_relative 'dashboard/mv' Gzr::Commands::Dashboard::Mv.new(dashboard_id, target_space_id, options).execute end end
rm(id)
click to toggle source
# File lib/gzr/commands/dashboard.rb, line 87 def rm(id) if options[:help] invoke :help, ['rm'] else require_relative 'dashboard/rm' Gzr::Commands::Dashboard::Rm.new(id, options).execute end end