The SDR CLI is currently a rough draft and has some rough edges worth smoothing out. In particular: that we have to provide flags in a certain order. Namely: sdr --service-url http://whatever/ update --collection druid:foo druid:bar
The CLI enforces this order because that first --service-url flag is parsed out before the command-specific flags and args are parsed. Rewrite the CLI (using Thor vs. ruby's optionparser) to clean this up.
The SDR CLI is currently a rough draft and has some rough edges worth smoothing out. In particular: that we have to provide flags in a certain order. Namely:
sdr --service-url http://whatever/ update --collection druid:foo druid:bar
The CLI enforces this order because that first
--service-url
flag is parsed out before the command-specific flags and args are parsed. Rewrite the CLI (using Thor vs. ruby's optionparser) to clean this up.