Class: AndParcel::RemoveCommand

Inherits:
Command
  • Object
show all
Defined in:
bin/parcel

Instance Method Summary collapse

Methods inherited from Command

inherited

Instance Method Details

#runObject



99
100
101
102
103
104
105
106
107
108
109
110
# File 'bin/parcel', line 99

def run
	opts=Trollop::options do
		banner "parcel remove"
		opt :project, "path to Android project", :type=>:string, :short=>'p', :default=>'.'
	end
	
	Trollop::die "parcel name not provided" if ARGV.size==0
	
	name=ARGV.shift
	
	AndParcel::Parcel.remove(name, opts)
end