Sha256: dc32c28c71124bb2f519abd0860f1f48fb7eb1c0c15861770d39e736d391ed8a
Contents?: true
Size: 496 Bytes
Versions: 3
Compression:
Stored size: 496 Bytes
Contents
module Percheron module Commands class Recreate < Abstract default_parameters! option "--force", :flag, 'Force recreation', default: false option "--delete", :flag, 'Delete container + image before recreation', default: false def execute opts = { container_names: container_names, force_recreate: force?, delete: delete? } Percheron::Stack.new(config, stack_name).recreate!(opts) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
percheron-0.6.3 | lib/percheron/commands/recreate.rb |
percheron-0.6.2 | lib/percheron/commands/recreate.rb |
percheron-0.6.1 | lib/percheron/commands/recreate.rb |