Sha256: f4c9f83213c75b19c7b9751731134dc966786c71b8a3da9480ed4685757bacdd

Contents?: true

Size: 534 Bytes

Versions: 4

Compression:

Stored size: 534 Bytes

Contents

module Kontena::Cli::Stacks; end;
require_relative 'stacks'

command 'deploy' do |c|
  c.syntax = 'kontena deploy'
  c.description = 'Create and deploy multiple services from YAML file'
  c.option '-f', '--file String', 'path to kontena.yml file, default: current directory'
  c.option '-p', '--prefix String', 'prefix of service names, default: name of the current directory'
  c.option '-s', '--service Array', Array, 'Services to deploy'
  c.action do |args, options|
    Kontena::Cli::Stacks::Stacks.new.deploy(options)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
kontena-cli-0.7.3 lib/kontena/cli/stacks/commands.rb
kontena-cli-0.7.2 lib/kontena/cli/stacks/commands.rb
kontena-cli-0.7.1 lib/kontena/cli/stacks/commands.rb
kontena-cli-0.7.0 lib/kontena/cli/stacks/commands.rb