Class: CustomResource::Route53::Cli

Inherits:
Thor
  • Object
show all
Defined in:
lib/customresource/route53/cli.rb

Instance Method Summary collapse

Constructor Details

#initialize(args = [], local_options = {}, config = {}) ⇒ Cli

no_commands



35
36
37
38
# File 'lib/customresource/route53/cli.rb', line 35

def initialize(args = [], local_options = {}, config = {})
  super(args,local_options,config)
  @log_level = :step
end

Instance Method Details

#privatehostedzoneObject



47
48
49
# File 'lib/customresource/route53/cli.rb', line 47

def privatehostedzone()
  process('PrivateHostedZones')
end

#reversednsentryObject



52
53
54
# File 'lib/customresource/route53/cli.rb', line 52

def reversednsentry()
  process('ReverseDNSEntries')
end

#versionObject



41
42
43
44
# File 'lib/customresource/route53/cli.rb', line 41

def version()
  puts ::CustomResource::Route53::VERSION
  exit 0
end