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

Interchangeable order of console task parameters #5

Closed
lperamo opened this issue Nov 16, 2019 · 1 comment
Closed

Interchangeable order of console task parameters #5

lperamo opened this issue Nov 16, 2019 · 1 comment
Labels
enhancement New feature or request ergonomics This eases the use of the framework

Comments

@lperamo
Copy link
Owner

lperamo commented Nov 16, 2019

Actually, we must put the parameters in the order defined by the command's help.
We should be able to place the parameters in the order we want to avoid passing default values to some parameters only to reach the wanted parameter.

For example, for the task genBootstrap, we need to use the parameter genClassmap, then the parameter verbose and finally the parameter route ... exactly in that order. What if we only want to specify the route that interests us ?

We have to decide which format use, but it may be better to use a classic one. Maybe this one :
otra genBootstrap -route="myRoute"

We have to keep the way it works actually, just adding the new ways on top of that.
We may have to update the auto-completion scripts accordingly.

@lperamo lperamo added enhancement New feature or request ergonomics This eases the use of the framework labels Nov 16, 2019
@lperamo
Copy link
Owner Author

lperamo commented Nov 1, 2022

Solved in 1.0.0-alpha.2.6.0 via POSIX parameters

@lperamo lperamo closed this as completed Nov 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ergonomics This eases the use of the framework
Projects
None yet
Development

No branches or pull requests

1 participant