Sha256: 0b51f864c5d78e58d84472283acde07682d4f08fc20d1c47d80cd2d0207b4ed7

Contents?: true

Size: 528 Bytes

Versions: 7

Compression:

Stored size: 528 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), stop (s), 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.3.6 lib/dockerun/command/dockerun.rb
dockerun-0.3.5 lib/dockerun/command/dockerun.rb
dockerun-0.3.4 lib/dockerun/command/dockerun.rb
dockerun-0.3.3 lib/dockerun/command/dockerun.rb
dockerun-0.3.1 lib/dockerun/command/dockerun.rb
dockerun-0.3.0 lib/dockerun/command/dockerun.rb
dockerun-0.1.15 lib/dockerun/command/dockerun.rb