Add proper command support #1407
DenuxPlays
started this conversation in
Ideas
Replies: 1 comment
-
It looks good! I'm sure it will improve the CLI experience. I believe it's important to keep the same interface for consistency. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I have an idea to properly support commands through
clap
.This would enable to write clis or integrate clis into existing applications with proper help output and proper arguments parsing (handled by clap).
Also this would add the ability to autocompletion if we implement it for clap in general.
See here for the current status on auto completion.
I know tasks exist but I think they var/argument handleing is very bad for clis and there is no help output.
Since we already use
clap
for our own commands the implementation would not be that hard.Maybe even update the
Task
trait to support it?What do you think about that?
Beta Was this translation helpful? Give feedback.
All reactions