cli: support exporting login to stdout
Metadata
Current evaluation
Merged a PR adding CLI support to export login credentials to stdout. Output is base64-encoded for direct CI environment variable injection, eliminating the need to manage encrypted credential files.
Suggested action: —
No scores available.
Issue body
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
And instead of simply printing the ini file, base64-encode it so it can be more easily handled. This is intended to fit the use-case of sticking the exported login straight into the environment of a CI system instead of needing to encrypt a file.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Merged a PR adding CLI support to export login credentials to stdout. Output is base64-encoded for direct CI environment variable injection, eliminating the need to manage encrypted credential files. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged feature enabling CLI export of login credentials to stdout. Credentials are base64-encoded for direct CI environment injection, removing the need for encrypted file handling. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged update enabling CLI export of login credentials to stdout as base64-encoded output, facilitating direct CI environment variable injection without file encryption. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1780 cli: add export-login command | snapcraft | merged | Merged the export-login CLI command and a --with flag for login to support CI systems. Review feedback updated packages to snaps and adjusted formatting. Approved and merged. |