streamrip icon indicating copy to clipboard operation
streamrip copied to clipboard

[FEATURE] Make cli arguments order-independent

Open barraIhsan opened this issue 1 year ago • 0 comments

Is the feature request related to a problem. Please describe it.

As stated in the cli-guidelines, cli arguments should order-independent.

Not just the cli-guidelines, it is also very common for cli program to not have order-dependent arguments, as that can confuse user

This confuses me the first time when I can't just do

rip search qobuz track "die with a smile" -ndb

And, it turns out, the -ndb argument is only valid on the first argument,

rip -ndb search qobuz track "die with a smile"

This will confuse many users because rip search currently supports

rip [OPTION] search [OPTION]

But when we do rip search --help it doesn't mentioned the first [OPTION]

$ rip search --help
Usage: rip search [OPTIONS] SOURCE MEDIA_TYPE QUERY

Describe the solution you would like.

I would like streamrip to have their cli arguments as order-independent

Describe alternatives you've considered.

No response

barraIhsan avatar Oct 30 '24 06:10 barraIhsan