feat(version): add --short flag to print version number without banner#2174
feat(version): add --short flag to print version number without banner#2174
--short flag to print version number without banner#2174Conversation
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
--short flag to print version number without banner
|
Warning Release Documentation RequiredThis PR is labeled
|
1 similar comment
|
Warning Release Documentation RequiredThis PR is labeled
|
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
Dependency Review✅ No vulnerabilities or license issues found.Scanned FilesNone |
Codecov Report❌ Patch coverage is
❌ Your patch check has failed because the patch coverage (61.29%) is below the target coverage (80.00%). You can increase the patch coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #2174 +/- ##
=======================================
Coverage ? 77.19%
=======================================
Files ? 1013
Lines ? 95743
Branches ? 0
=======================================
Hits ? 73911
Misses ? 17656
Partials ? 4176
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
I assert this is the wrong conclusion. This has already been solved, and I think it's based on an outdated version of Atmos. When using atmos in a headless mode or no TTY (such as in pipelining), it only displays the simple version. @copilot please confirm. |
Confirmed and tested. In no-TTY/headless mode (e.g., piped), The These are distinct. The headless mode output is not machine-parseable without a Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot fix tests |
|
@osterman The model You can try again without specifying a model (just If you want to contact GitHub about this error, please mention the following identifier so they can better serve you: |
|
@copilot fix tests |
The CI failure in the "Tests" run was an infrastructure issue — the macOS runner hit a 502 when downloading OpenTofu, unrelated to the code changes. All version-related unit tests pass locally (
The CI failure was a transient infrastructure issue (502 when downloading OpenTofu on the macOS runner), not a code test failure. All version-related tests pass locally. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Co-authored-by: nitrocode <7775707+nitrocode@users.noreply.github.com>
|
💥 This pull request now has conflicts. Could you fix it @Copilot? 🙏 |
atmos versionalways emits the ASCII art banner and alien icon, making it cumbersome to extract just the version string in scripts or CI pipelines.Changes
Core
--short/-sflag onatmos version: prints only the version number to stdout, no banner, no update check--format plain: underlying format that--shortmaps to; explicitly valid alongside existingjson/yamlplainformat (avoids unnecessary GitHub API call)ATMOS_VERSION_SHORTenv var for parity with other flagsDocs & Changelog
website/docs/cli/commands/version/usage.mdxwith--shortand--format plaindocswebsite/blog/2026-03-12-version-short-flag.mdxwebsite/src/data/roadmap.js)Usage
All three are equivalent:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.