• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

astronomer / astro-cli / 810b4d08-dc35-49bc-8cc2-bc2c9ff459e4 / 1
40%
main: 45%

Build:
Build:
LAST BUILD BRANCH: remove-v1beta1
DEFAULT BRANCH: main
Ran 20 May 2026 04:08PM UTC
Files 217
Run time 20s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

20 May 2026 04:01PM UTC coverage: 39.704% (-0.05%) from 39.755%
810b4d08-dc35-49bc-8cc2-bc2c9ff459e4.1

Pull #2152

circleci

jlaneve
feat(otto): add shell tab completion for astro otto

Adds a Cobra ValidArgsFunction to the otto subcommand. With this,
`astro completion zsh|bash|powershell` now drives `astro otto <tab>`
in addition to the rest of the astro CLI surface.

Candidates come from a cache the Otto binary refreshes on every run,
so a new otto flag appears in completion after the user's next
`astro otto` call without an astro-cli release. When the cache is
missing or schema-mismatched (e.g. before the user has ever invoked
otto), completion falls back to a tiny embedded baseline of the
flags that have stayed stable across releases.

Completes:
  - flag names with descriptions
  - enum values for --mode, --persona, --permission-mode, --extension,
    --thinking, --no-extension
  - session IDs from ~/.astro/otto/sessions/ for --session / --fork /
    --export
  - falls back to shell file completion for file-path flags
Pull Request #2152: feat(otto): add shell tab completion for astro otto

26209 of 66011 relevant lines covered (39.7%)

9.39 hits per line

Source Files on job 810b4d08-dc35-49bc-8cc2-bc2c9ff459e4.1
  • Tree
  • List 217
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 810
  • 24b8a290 on github
  • Prev Job for on otto/tab-completion (#d74f6a8a-2cac-46db-94ca-e9b8df530420.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc