14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# File 'lib/moonshot/commands/update.rb', line 14
def parser
parser = super
parser.on('--dry-run', TrueClass, 'Show the changes that would be applied, but do not execute them') do |v|
@dry_run = v
end
parser.on('--force', '-f', TrueClass, 'Apply ChangeSet without confirmation') do |v|
@force = v
end
parser.on('--refresh-parameters', TrueClass, 'Update parameters from parent stacks') do |v|
@refresh_parameters = v
end
parser.on('--template-file=FILE', 'Override the path to the CloudFormation template.') do |v|
Moonshot.config.template_file = v
end
end
|