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

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

Build:
Build:
LAST BUILD BRANCH: win_os_proxy
DEFAULT BRANCH: main
Ran 20 May 2026 04:08PM UTC
Jobs 1
Files 217
Run time 1min
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

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

5 of 97 new or added lines in 2 files covered. (5.15%)

26209 of 66011 relevant lines covered (39.7%)

9.39 hits per line

Uncovered Changes

Lines Coverage ∆ File
92
0.0
pkg/otto/completion.go
Jobs
ID Job ID Ran Files Coverage
1 810b4d08-dc35-49bc-8cc2-bc2c9ff459e4.1 20 May 2026 04:08PM UTC 217
39.7
Source Files on build 810b4d08-dc35-49bc-8cc2-bc2c9ff459e4
  • Tree
  • List 217
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #810B4D08...
  • Pull Request #2152
  • PR Base - main (#D74F6A8A...)
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