class Gzr::Commands::Space
Public Instance Methods
cat(space_id)
click to toggle source
# File lib/gzr/commands/space.rb, line 101 def cat(space_id) if options[:help] invoke :help, ['cat'] else require_relative 'space/cat' Gzr::Commands::Space::Cat.new(space_id,options).execute end end
create(name, parent_space)
click to toggle source
# File lib/gzr/commands/space.rb, line 37 def create(name, parent_space) if options[:help] invoke :help, ['create'] else require_relative 'space/create' Gzr::Commands::Space::Create.new(name, parent_space, options).execute end end
export(starting_space)
click to toggle source
# File lib/gzr/commands/space.rb, line 75 def export(starting_space) if options[:help] invoke :help, ['export'] else require_relative 'space/export' Gzr::Commands::Space::Export.new(starting_space,options).execute end end
ls(filter_spec=nil)
click to toggle source
# File lib/gzr/commands/space.rb, line 119 def ls(filter_spec=nil) if options[:help] invoke :help, ['ls'] else require_relative 'space/ls' Gzr::Commands::Space::Ls.new(filter_spec,options).execute end end
rm(space_id)
click to toggle source
# File lib/gzr/commands/space.rb, line 131 def rm(space_id) if options[:help] invoke :help, ['rm'] else require_relative 'space/rm' Gzr::Commands::Space::Rm.new(space_id,options).execute end end
top(*)
click to toggle source
# File lib/gzr/commands/space.rb, line 55 def top(*) if options[:help] invoke :help, ['top'] else require_relative 'space/top' Gzr::Commands::Space::Top.new(options).execute end end
tree(starting_space)
click to toggle source
# File lib/gzr/commands/space.rb, line 87 def tree(starting_space) if options[:help] invoke :help, ['tree'] else require_relative 'space/tree' Gzr::Commands::Space::Tree.new(starting_space,options).execute end end