Class: AndParcel::RemoveCommand
Instance Method Summary collapse
Methods inherited from Command
Instance Method Details
#run ⇒ Object
99 100 101 102 103 104 105 106 107 108 109 110 |
# File 'bin/parcel', line 99 def run opts=Trollop:: do "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 |