class Gzr::Commands::Attribute

Public Instance Methods

cat(attr) click to toggle source
# File lib/gzr/commands/attribute.rb, line 121
def cat(attr)
  if options[:help]
    invoke :help, ['cat']
  else
    require_relative 'attribute/cat'
    Gzr::Commands::Attribute::Cat.new(attr,options).execute
  end
end
create(attr_name, attr_label=nil) click to toggle source
# File lib/gzr/commands/attribute.rb, line 105
def create(attr_name, attr_label=nil)
  if options[:help]
    invoke :help, ['create']
  else
    require_relative 'attribute/create'
    Gzr::Commands::Attribute::Create.new(attr_name, attr_label, options).execute
  end
end
get_group_value(group,attr) click to toggle source
# File lib/gzr/commands/attribute.rb, line 47
def get_group_value(group,attr)
  if options[:help]
    invoke :help, ['get_group_value']
  else
    require_relative 'attribute/get_group_value'
    Gzr::Commands::Attribute::GetGroupValue.new(group,attr,options).execute
  end
end
import(file) click to toggle source
# File lib/gzr/commands/attribute.rb, line 77
def import(file)
  if options[:help]
    invoke :help, ['import']
  else
    require_relative 'attribute/import'
    Gzr::Commands::Attribute::Import.new(file,options).execute
  end
end
ls(*) click to toggle source
# File lib/gzr/commands/attribute.rb, line 139
def ls(*)
  if options[:help]
    invoke :help, ['ls']
  else
    require_relative 'attribute/ls'
    Gzr::Commands::Attribute::Ls.new(options).execute
  end
end
rm(attr) click to toggle source
# File lib/gzr/commands/attribute.rb, line 61
def rm(attr)
  if options[:help]
    invoke :help, ['rm']
  else
    require_relative 'attribute/rm'
    Gzr::Commands::Attribute::Rm.new(attr,options).execute
  end
end
set_group_value(group,attr,value) click to toggle source
# File lib/gzr/commands/attribute.rb, line 35
def set_group_value(group,attr,value)
  if options[:help]
    invoke :help, ['set_group_value']
  else
    require_relative 'attribute/set_group_value'
    Gzr::Commands::Attribute::SetGroupValue.new(group,attr,value,options).execute
  end
end