We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<INPUT>
Generating Clippy's tab-completions support requires the dummu <INPUT> parameter to be present.
$ jrsonnet generate bash
bash can be replaced with any supported shell.
bash
Tab-completion code is generated for the provided shell.
error: The following required arguments were not provided: <INPUT> USAGE: jrsonnet [OPTIONS] <INPUT> [SUBCOMMAND] For more information try --help
Tab-completion code is geneated only in presence of (any) <INPUT> parammeter value.
The text was updated successfully, but these errors were encountered:
There was no default subcommand support in clap, so it wasn't possible to implement both
jrsonnet generate jrsonnet file.jsonnet
clap-rs/clap#975
Now, as it is implemented, there would be two subcommands:
jrsonnet generate bash jrsonnet compile file.jsonnet
And if subcommand is not specified, it should default to jrsonnet compile
jrsonnet compile
Sorry, something went wrong.
Unfortunately, it seems to be still not possible to implement correctly with current clap api
fix: workaround ugly generate command
42a0a06
Fixes: #81 Signed-off-by: Yaroslav Bolyukin <[email protected]>
Actually, found workaround.
CertainLach
No branches or pull requests
Description
Generating Clippy's tab-completions support requires the dummu
<INPUT>
parameter to be present.Steps to reproduce
bash
can be replaced with any supported shell.Expected behaviour
Tab-completion code is generated for the provided shell.
Observed behaviour
Tab-completion code is geneated only in presence of (any)
<INPUT>
parammeter value.The text was updated successfully, but these errors were encountered: