class Object
Constants
- DEFAULT_LIST_JOBS_STATUS
Public Instance Methods
build_command_aliases(commands_dir = @commands_dir)
click to toggle source
# File lib/envoi/mam/agent/cli/commands.rb, line 33 def build_command_aliases(commands_dir = @commands_dir) Dir.glob(File.join(commands_dir, "*.rb")).each do |fn| command_file_name = File.basename(fn) command_name = File.basename(command_file_name, '.*') command_alias = command_name.tr('-_', '') @commands << command_name @command_aliases[command_alias] = command_name @command_list_str += "\n\t - #{command_name}" end end
presentation_assets()
click to toggle source
# File lib/envoi/mam/agent/cli/commands/wiredrive.rb, line 156 def presentation_assets; @presentation_assets ||= presentation_assets_get end
presentation_assets_get(args = @args)
click to toggle source
# File lib/envoi/mam/agent/cli/commands/wiredrive.rb, line 151 def presentation_assets_get(args = @args) presentation_invitation_token = args[:presentation_invitation_token] presentation_password = args[:presentation_password] wdpu.presentation_assets_get_using_token(presentation_invitation_token, presentation_password) end
usage()
click to toggle source
# File lib/envoi/mam/agent/cli/commands.rb, line 44 def usage <<-EOT Usage: #{File.basename($0)} COMMAND [ARGS] Available Commands: #{@command_list_str} All commands can be run with -h (or --help) for more information. EOT end
wdpu(args = @args)
click to toggle source
# File lib/envoi/mam/agent/cli/commands/wiredrive.rb, line 149 def wdpu(args = @args); @wdpu ||= Ubiquity::Wiredrive::PresentationUtility.new(args) end