Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Make cli arguments order-independent #764

Open
barraIhsan opened this issue Oct 30, 2024 · 0 comments
Open

[FEATURE] Make cli arguments order-independent #764

barraIhsan opened this issue Oct 30, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@barraIhsan
Copy link

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 barraIhsan added the enhancement New feature or request label Oct 30, 2024
@barraIhsan barraIhsan changed the title [FEATURE] Make cli arguments order-**in**dependent [FEATURE] Make cli arguments order-independent Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant