9
10
11
12
13
14
15
16
17
18
|
# File 'lib/terraspace/cli/new/sequence.rb', line 9
def self.base_options
[
[:examples, type: :boolean, default: false, desc: "Also generate examples"],
[:force, aliases: %w[y], type: :boolean, desc: "Bypass overwrite are you sure prompt for existing files"],
[:lang, default: "hcl", desc: "Language to use: HCL/ERB or Ruby DSL"],
[:plugin, aliases: %w[p], default: "aws", desc: "Cloud Plugin. Supports: aws, google"],
[:test, type: :boolean, desc: "Whether or not to generate tests"],
[:plugin_gem, desc: "Use if provider gem name doesnt follow terraspace_plugin_XXX naming convention. Must specify both --plugin and --plugin-name option"],
]
end
|