bin/wally in wally-0.0.44 vs bin/wally in wally-0.0.45
- old
+ new
@@ -18,6 +18,9 @@
puts File.read(feature_path)
end
features << {:path => feature_path, :gherkin => gherkin}
end
RestClient.put "#{ARGV[1]}/features/?authentication_code=#{File.read(".wally")}", features.to_json, {:content_type => :json, :accept => :json}
+elsif ARGV[0] == "destroy"
+ require "restclient"
+ RestClient.delete ARGV[1]
end