class ZAWS::External::AWSCLI::Commands::S3::Ls

Public Class Methods

new(shellout=nil, awscli=nil) click to toggle source
# File lib/zaws/external/awscli/commands/s3/ls.rb, line 7
def initialize(shellout=nil, awscli=nil)
  @shellout=shellout
  @awscli=awscli
  clear_settings
  self
end

Public Instance Methods

aws() click to toggle source
# File lib/zaws/external/awscli/commands/s3/ls.rb, line 23
def aws
  @aws ||= ZAWS::External::AWSCLI::Commands::AWS.new(self)
  @aws
end
clear_settings() click to toggle source
# File lib/zaws/external/awscli/commands/s3/ls.rb, line 14
def clear_settings
  @aws=nil
end
get_command() click to toggle source
# File lib/zaws/external/awscli/commands/s3/ls.rb, line 18
def get_command
  command = "s3 ls"
  return command
end