Sha256: 86a4f3fb8f41d77778a0701d6531067f4bc3936afa55a1afb3d1872f5a64a6a2

Contents?: true

Size: 678 Bytes

Versions: 1

Compression:

Stored size: 678 Bytes

Contents

#!/usr/bin/env ruby
$LOAD_PATH.unshift File.expand_path './lib'

require 'simple_commander/import'
require './helpers/http_helper'

program :name, 'ember-c'
program :version, '0.0.1'
program :description, 'implementing ember with modified commander'
helpers 'IO', 'HTTP'

command :new do
	syntax = 'ember-c new <name>'
	summary = 'create a new ember project'
	description = 'Create a new ember project'
	action do |args, options|
		run_cmd(File.expand_path './') do
			say `ls`
		end
		http_get
	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.1.0 ember_c