Closed nebhale closed 12 years ago
It's not the --rel
that's required but an argument of some kind. --rel
is actually a convenience switch because the PathOrRel object that is the first parameter to the delete
command figures out whether it's being passed a rel value or an actual path.
But it would be easier (and more consistent with the other commands) to not require a path or rel value on delete. I think it's as easy a fix as turning the mandatory switch to false
.
Has the forked code mentioned in #10 made it back into spring-shell yet?
/cc @markpollack
Just created a PR for that https://github.com/SpringSource/spring-shell/pull/3
Currently, executing the
delete
command requires the--rel
argument to be specified. This means that you cannot do the following to delete a resource and verify that it is deleted.The
delete
command should be allowed to run from any URI without the--rel
argument specified and should simply execute an HTTPDELETE
on the current URI. The--rel
behavior should be preserved as-is.