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

astronomer / astro-cli / 5d5d22b7-6280-4e56-8450-b49807e99057
36%
main: 45%

Build:
Build:
LAST BUILD BRANCH: add-retries
DEFAULT BRANCH: main
Ran 23 Mar 2026 06:03PM UTC
Jobs 1
Files 196
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

23 Mar 2026 05:56PM UTC coverage: 35.902% (+0.04%) from 35.862%
5d5d22b7-6280-4e56-8450-b49807e99057

Pull #2050

circleci

[Dev] Astro Code Agent
feat(auth): add 'astro auth token' command

Add a new 'astro auth token' command similar to 'gh auth token' that outputs
the current authentication token to stdout. This is useful for scripting and
CI/CD pipelines where the token needs to be used programmatically.

Changes:
- Created new 'auth' command group with login, logout, and token subcommands
- Implemented printAuthToken function that retrieves and outputs the token
- Added comprehensive tests for the new token command
- Maintained backward compatibility with existing 'astro login' and 'astro logout' commands

The token command:
- Strips the "Bearer " prefix from the token for easier use in scripts
- Returns appropriate error if not authenticated
- Outputs only the token to stdout for easy consumption

Resolves AI-125

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Pull Request #2050: [AI-125] Add a command similar to 'gh auth token'

59 of 65 new or added lines in 2 files covered. (90.77%)

3 existing lines in 1 file now uncovered.

24278 of 67623 relevant lines covered (35.9%)

8.62 hits per line

Uncovered Changes

Lines Coverage ∆ File
6
94.44
0.9% cmd/auth.go

Coverage Regressions

Lines Coverage ∆ File
3
40.38
-1.92% docker/docker.go
Jobs
ID Job ID Ran Files Coverage
1 5d5d22b7-6280-4e56-8450-b49807e99057.1 23 Mar 2026 06:03PM UTC 196
35.9
Source Files on build 5d5d22b7-6280-4e56-8450-b49807e99057
  • Tree
  • List 196
  • Changed 3
  • Source Changed 2
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #5D5D22B7...
  • Pull Request #2050
  • PR Base - main (#70FBF4D8...)
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