Sha256: 4de57b6591653e2dfe503cd54c37fcc9a66f40b5bf2f59d28d8e434f41fb8920

Contents?: true

Size: 535 Bytes

Versions: 6

Compression:

Stored size: 535 Bytes

Contents

# frozen_string_literal: true

module ContainerShip
  module Command
    class InitCommand
      def run(cluster_name)
        FileUtils.mkdir_p(".container_ship/#{cluster_name}/tasks")
        puts "Created .container_ship/#{cluster_name}/tasks directory"
        FileUtils.mkdir_p(".container_ship/#{cluster_name}/services")
        puts "Created .container_ship/#{cluster_name}/services directory"

        puts 'Next: Create tasks_definition.json file to deploy in tasks or services directory 🖖🏻'
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
container_ship-0.1.6 lib/container_ship/command/init_command.rb
container_ship-0.1.5 lib/container_ship/command/init_command.rb
container_ship-0.1.4 lib/container_ship/command/init_command.rb
container_ship-0.1.3 lib/container_ship/command/init_command.rb
container_ship-0.1.2 lib/container_ship/command/init_command.rb
container_ship-0.1.1 lib/container_ship/command/init_command.rb