|
It seems like |
Replies: 2 comments 4 replies
|
Not as shell Tab completion at the moment. The generated completion only knows the static CLI grammar. In The built-in solution today is to omit the script name: aube run
# or
aubrOn an interactive TTY, So if you already installed/regenerated completions correctly and |
|
All three items here turned out to be actionable, and there are PRs open for each. 1. Script completion — #1108
The diagnosis above was right about the cause: No change to how you install completions: 2. The command text in the picker — #1109The script name is now the label and the command moved into an aligned second column, truncated to fit: Names line up and the command reads as secondary, so it stops dominating the row without dropping information. On a terminal too narrow for any of it, the rows fall back to names alone. 3. The scrambled output — #1109 + jdx/demand#190Not a preference issue and not specific to your terminal — a genuine rendering bug, and the same root cause as #2. No repro details needed in the end; driving the picker through a pty reproduced it directly.
The identical frames at 200 columns are clean, which is what pins it on wrapping. Filtering was hit for the same reason. Two fixes, because aube's own change isn't sufficient on its own: keeping the rows inside the width fixes the picker, but Thanks for the report — the second half in particular was a real bug that had gone unnoticed upstream. This comment was generated by Claude. |
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 nearestpackage.json, with each script's command as the description.The diagnosis above was right about the cause:
aube.usage.kdlis generated byclap_usage, which only sees the clap tree and can't express a dynamic completer. The missing piece is thatusagedoes support one — acomplete "script" run="…"node — so the fix is a hand-written spec fragment concatenated onto the generated spec, the same approachmiseuses. Behind it is a hiddenaube run --completethat prints the script list.No change to how you install …