Module: Kontena::Cli::Stacks::Common::StackNameParam

Defined in:
lib/kontena/cli/stacks/common.rb

Class Method Summary collapse

Class Method Details

.included(where) ⇒ Object

Include to add a STACK_NAME parameter



57
58
59
# File 'lib/kontena/cli/stacks/common.rb', line 57

def self.included(where)
  where.parameter "STACK_NAME", "Stack name, for example user/stackname or user/stackname:version", attribute_name: :source
end