Module: Kontena::Cli::Stacks::Common::StackFileOrNameParam

Included in:
InstallCommand, UpgradeCommand, ValidateCommand
Defined in:
lib/kontena/cli/stacks/common.rb

Class Method Summary collapse

Class Method Details

.included(where) ⇒ Object

Include to add a stack file parameter



64
65
66
# File 'lib/kontena/cli/stacks/common.rb', line 64

def self.included(where)
  where.parameter "[FILE]", "Kontena stack file, registry stack name (user/stack or user/stack:version) or URL", default: "kontena.yml", attribute_name: :source
end