Sha256: b3065fdd854789d44d21b994c4e0533581b28752da6d60b4f918db43b776290f
Contents?: true
Size: 1.22 KB
Versions: 1
Compression:
Stored size: 1.22 KB
Contents
# frozen_string_literal: true module Takeltau # tau docker container class ShipProject < SubCommandBase include LoggingModule include SystemModule include ConfigModule include DockerCheckDaemon include DockerContainerLib include ShipContainerCheckExisting include ShipContainerLib include ShipContainerStop include ShipInfoLib include ShipProjectList include ShipProjectStart # # ship container list # desc 'list', 'List projects' long_desc <<-LONGDESC.gsub("\n", "\x5") List projects LONGDESC # List projects. def list ship_project_list end # # ship container start # desc 'start [PROJECT]', 'Start project [PROJECT] in a takelship container' long_desc <<-LONGDESC.gsub("\n", "\x5") Start project [PROJECT] in a takelship container LONGDESC # Run command in docker container. def start(project = 'default') ship_project_start project end # # ship project stop # desc 'stop', 'Stop a takelship container' long_desc <<-LONGDESC.gsub("\n", "\x5") Stop a takelship container LONGDESC # Stop a takelship container. def stop say ship_container_stop end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
takeltau-0.43.19 | lib/takeltau/ship/project/cli.rb |