Class: Ufo::CLI::Upgrade
Class Method Summary
collapse
Instance Method Summary
collapse
alter_command_description, check_project!, check_version_structure!, command_help, configure_dsl_evaluator, dispatch, exit_on_failure?, help_flags, non_project_command?, subcommand?, website
#logger
Class Method Details
.options ⇒ Object
13
14
15
16
17
18
19
20
|
# File 'lib/ufo/cli/upgrade.rb', line 13
def self.options
[
[:force, type: :boolean, desc: "Bypass overwrite are you sure prompt for existing files."],
[:vpc_id, desc: "Vpc id"],
[:ecs_subnets, type: :array, desc: "Subnets for ECS tasks, defaults to --elb-subnets set to"],
[:elb_subnets, type: :array, desc: "Subnets for ELB"],
]
end
|
Instance Method Details
#v2to3 ⇒ Object
4
5
6
|
# File 'lib/ufo/cli/upgrade.rb', line 4
def v2to3
Upgrade3.new(options).run
end
|
#v33to34 ⇒ Object
9
10
11
|
# File 'lib/ufo/cli/upgrade.rb', line 9
def v33to34
Upgrade33to34.new(options).run
end
|
#v3to4 ⇒ Object
24
25
26
|
# File 'lib/ufo/cli/upgrade.rb', line 24
def v3to4
Upgrade4.start
end
|
#v43to45 ⇒ Object
29
30
31
|
# File 'lib/ufo/cli/upgrade.rb', line 29
def v43to45
Upgrade43to45.new(options).run
end
|