Skip to content

Parse argparse/kingpin/3-token-prefix listings; add 18 CLIs + ~80 fixtures - #8

Merged
syumai merged 1 commit into
mainfrom
devin/1790056536-help-coverage-round7
Sep 22, 2026
Merged

syumai merged 1 commit into
mainfrom
devin/1790056536-help-coverage-round7

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

18 more CLIs and ~80 new corpus rows — the largest round yet. All new entries parse ok (or leaf/empty where the command genuinely has no subcommand listing).

Parser changes in internal/helptext/parse.go:

  • isSectionHeader now accepts required arguments: — argparse renders a required-positional group holding subcommand choices under that header (borg-style), so borg's 25 commands parse.
  • prefixedEntry accepts 3-token prefixes, and the merge step picks the shallowest prefix depth that produced a qualifying group (d=1..3). So wrangler d1 migrations create collects under wrangler d1 migrations without ever fabricating a top-level create, and yarn config get still cannot leak get next to the yarn group.

New captured CLIs (all permissively licensed, in NOTICE.md): borg, chezmoi, mkdocs, dbt, podman, hugo, rclone, caddy, traefik, restic, velero, promtool, zellij, starship, task, just, volta. zola ships a synthetic fixture — EUPL-1.2 is copyleft, same treatment as MPL/GPL.

New nested rows: podman image|container|pod|machine|network|volume|system|secret, doctl databases|registry|compute, argocd cluster|repo|admin|account, pulumi env|state|org, flux bootstrap|delete, eksctl delete|update|upgrade, minikube service|config|profile|node, vercel project|dns|certs|git|blob, wrangler queues|versions|d1 migrations, firebase functions|database|hosting|apps, supabase db|gen|branches|projects, hatch config, pdm cache, meson subprojects, rye self, stripe charges|subscriptions|products, hcloud network|firewall|load-balancer|ssh-key|volume, railway service|variable, netlify sites, glab stack, promtool tsdb|promql|query, rclone config, velero schedule|snapshot-location|client, hugo mod|config, plus ~20 leaf fixtures (task, just, restic snapshots, velero install, meson setup|compile|test|dist, pdm install|export|config, rye sync|init|config, etc.).

Link to Devin session: https://app.devin.ai/sessions/6b27c26293e1466cb4b3f495d9cf77ea
Open in Devin Desktop: https://app.devin.ai/desktop/session/6b27c26293e1466cb4b3f495d9cf77ea?variant=devin
Requested by: @syumai

…tures

- 'required arguments:' is a known section header (borg argparse)
- prefixedEntry handles 3-token prefixes (wrangler d1 migrations)
- prefix merge picks the shallowest qualifying depth (1-3)
- new captured CLIs: borg, chezmoi, mkdocs, dbt, podman, hugo, rclone,
  caddy, traefik, restic, velero, promtool, zellij, starship, task,
  just, volta (+NOTICE licenses)
- zola fixture is synthetic (EUPL-1.2 is copyleft)
- ~80 nested rows incl. podman image/container/pod/machine/network/
  volume/system/secret, doctl databases/registry/compute, argocd
  cluster/repo/admin/account, pulumi env/state/org, flux bootstrap/
  delete, eksctl delete/update/upgrade, minikube service/config/
  profile/node, vercel project/dns/certs/git/blob, wrangler queues/
  versions/d1 migrations, firebase functions/database/hosting/apps,
  supabase db/gen/branches/projects, hatch config, pdm cache, meson
  subprojects, rye self, stripe charges/subscriptions/products, hcloud
  network/firewall/load-balancer/ssh-key/volume, railway service/
  variable, netlify sites, glab stack, promtool tsdb/promql/query,
  rclone config, velero schedule/snapshot-location/client, hugo mod

Co-Authored-By: syumai <syumai@gmail.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@syumai
syumai merged commit f20a8c3 into main Sep 22, 2026
7 checks passed
@syumai
syumai deleted the devin/1790056536-help-coverage-round7 branch September 22, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant