Module: Kontena::Cli::Stacks::Common::StackNameOption
- Included in:
- InstallCommand, ValidateCommand
- Defined in:
- lib/kontena/cli/stacks/common.rb
Class Method Summary collapse
-
.included(where) ⇒ Object
Include to add a stack name parameter.
Class Method Details
.included(where) ⇒ Object
Include to add a stack name parameter
71 72 73 |
# File 'lib/kontena/cli/stacks/common.rb', line 71 def self.included(where) where.option ['-n', '--name'], 'NAME', 'Define stack name (by default comes from stack file)' end |