Sha256: f3378a8a58c2aa96a17d2d8e00ca1892d28c09a4dc08691c77d2f6dcd8267b15
Contents?: true
Size: 1001 Bytes
Versions: 1
Compression:
Stored size: 1001 Bytes
Contents
#!/usr/bin/env ruby require 'byebug' require 'simple_commander/import' program :name, 'ember-c' program :version, '0.0.1' program :description, 'implementing ember with modified commander' command :new do syntax = 'ember-c new <name>' summary = 'create a new ember project' description = 'Create a new ember project' action do |args, options| puts args[0] global end end command :this do command :is do command :ok do command :dont do command :worry do action do puts "this is ok dont worry" end end end command :also do action do puts "this is ok also" end end end end end command :parent do command :child do action do |args, options| puts 'nested child' end end end command 'do this' do action do |args, options| puts "do this!" end end # new spec #command :deploy do # helpers :io, :http # # command :heroku do # actions_ext './deploy/heroku' # end # # command :s3 do # actions_ext './deploy/s3' # end #end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
simple_commander-0.0.1 | ember_c |