Sha256: e8d5a0b137f60c4a40db9ce7a3ba365bc645037a025612db1ecc23ee57370a32

Contents?: true

Size: 210 Bytes

Versions: 2

Compression:

Stored size: 210 Bytes

Contents

module Miniploy
  class CLI
    ARGS = %w[setup update start stop]

    def self.run(args)
      d = Miniploy::Deploy.new
      action = args.shift
      d.send action if ARGS.include? action
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
miniploy-0.0.2 lib/miniploy/cli.rb
miniploy-0.0.1 lib/miniploy/cli.rb