Sha256: 4d07d30a7e688ccb37fb9d734653de4494c1a1614a83aed9a392b1c6c6228a92

Contents?: true

Size: 518 Bytes

Versions: 7

Compression:

Stored size: 518 Bytes

Contents

require 'tty/option'

module Dockerun
  module Command
    
    class Dockerun
      include TTY::Option

      usage do
        program "dockerun"
        no_command
      end

      argument :command do
        required
        desc "Command for the dockerun operations. Supported: init, run (r), run-new-container (rnc), run-new-image (rni), remove-image (rmi), remove-container (rmc)"
      end

      def run
        if params[:help]
          print help
          exit
        end
      end

    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dockerun-0.2.3 lib/dockerun/command/dockerun.rb
dockerun-0.2.2 lib/dockerun/command/dockerun.rb
dockerun-0.2.1 lib/dockerun/command/dockerun.rb
dockerun-0.2.0 lib/dockerun/command/dockerun.rb
dockerun-0.1.18 lib/dockerun/command/dockerun.rb
dockerun-0.1.16 lib/dockerun/command/dockerun.rb
dockerun-0.1.14 lib/dockerun/command/dockerun.rb