Skip to content
Discussion options

You must be logged in to vote

All three items here turned out to be actionable, and there are PRs open for each.

1. Script completion — #1108

aube run <TAB> / aubr <TAB> now completes the scripts in the nearest package.json, with each script's command as the description.

The diagnosis above was right about the cause: aube.usage.kdl is generated by clap_usage, which only sees the clap tree and can't express a dynamic completer. The missing piece is that usage does support one — a complete "script" run="…" node — so the fix is a hand-written spec fragment concatenated onto the generated spec, the same approach mise uses. Behind it is a hidden aube run --complete that prints the script list.

No change to how you install …

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
2 replies
@skoch13
Comment options

@yhay81
Comment options

Comment options

You must be logged in to vote
2 replies
@skoch13
Comment options

@skoch13
Comment options

Answer selected by skoch13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants