class Gzr::Commands::Plan
Public Instance Methods
cat(plan_id)
click to toggle source
# File lib/gzr/commands/plan.rb, line 119 def cat(plan_id) if options[:help] invoke :help, ['cat'] else require_relative 'plan/cat' Gzr::Commands::Plan::Cat.new(plan_id,options).execute end end
disable(plan_id)
click to toggle source
# File lib/gzr/commands/plan.rb, line 63 def disable(plan_id) if options[:help] invoke :help, ['disable'] else require_relative 'plan/disable' Gzr::Commands::Plan::Disable.new(plan_id,options).execute end end
enable(plan_id)
click to toggle source
# File lib/gzr/commands/plan.rb, line 75 def enable(plan_id) if options[:help] invoke :help, ['enable'] else require_relative 'plan/enable' Gzr::Commands::Plan::Enable.new(plan_id,options).execute end end
failures(*)
click to toggle source
# File lib/gzr/commands/plan.rb, line 39 def failures(*) if options[:help] invoke :help, ['failures'] else require_relative 'plan/failures' Gzr::Commands::Plan::Failures.new(options).execute end end
import(plan_file, obj_type, id )
click to toggle source
# File lib/gzr/commands/plan.rb, line 105 def import(plan_file, obj_type, id ) if options[:help] invoke :help, ['import'] else require_relative 'plan/import' Gzr::Commands::Plan::Import.new(plan_file, obj_type, id, options).execute end end
ls(*)
click to toggle source
# File lib/gzr/commands/plan.rb, line 139 def ls(*) if options[:help] invoke :help, ['ls'] else require_relative 'plan/ls' Gzr::Commands::Plan::Ls.new(options).execute end end
rm(plan_id)
click to toggle source
# File lib/gzr/commands/plan.rb, line 87 def rm(plan_id) if options[:help] invoke :help, ['rm'] else require_relative 'plan/rm' Gzr::Commands::Plan::Rm.new(plan_id, options).execute end end
runit(plan_id)
click to toggle source
# File lib/gzr/commands/plan.rb, line 51 def runit(plan_id) if options[:help] invoke :help, ['runit'] else require_relative 'plan/run' Gzr::Commands::Plan::RunIt.new(plan_id,options).execute end end