class Gzr::Commands::Look

Public Instance Methods

cat(look_id) click to toggle source
# File lib/gzr/commands/look.rb, line 85
def cat(look_id)
  if options[:help]
    invoke :help, ['cat']
  else
    require_relative 'look/cat'
    Gzr::Commands::Look::Cat.new(look_id, options).execute
  end
end
import(file,dest_space_id) click to toggle source
# File lib/gzr/commands/look.rb, line 69
def import(file,dest_space_id)
  if options[:help]
    invoke :help, ['import']
  else
    require_relative 'look/import'
    Gzr::Commands::Look::Import.new(file, dest_space_id, options).execute
  end
end
mv(look_id, target_space_id) click to toggle source
# File lib/gzr/commands/look.rb, line 37
def mv(look_id, target_space_id)
  if options[:help]
    invoke :help, ['mv']
  else
    require_relative 'look/mv'
    Gzr::Commands::Look::Mv.new(look_id, target_space_id, options).execute
  end
end
rm(look_id) click to toggle source
# File lib/gzr/commands/look.rb, line 53
def rm(look_id)
  if options[:help]
    invoke :help, ['rm']
  else
    require_relative 'look/rm'
    Gzr::Commands::Look::Rm.new(look_id, options).execute
  end
end