The new config validation format that just rolled out (basically including the pipeline parameters used for validation) looks super messy to me. I have both a GH issue filed and a proposed fix:
% circleci config validate --org-slug github/joinforma
Validating config with following values
id: 00000000-0000-0000-0000-000000000001 number: 1 project.git_url: https://github.com/xx/yyy project.type: github git.tag: git.branch: foo/bar git.revision: b30ac0a34489c02db25b3d1a25cf4866f899fa45 git.base_revision: b30ac0a34489c02db25b3d1a25cf4866f899fa45Config file at .circleci/config.yml is valid.
It looks particularly bad in a terminal that’s at all narrow.
CircleCI-Public:develop
← wyardley:wyardley/860
opened 12:20AM - 08 Mar 23 UTC
# Checklist
=========
- [x] I have performed a self-review of my own code
…
- [ ] I have commented my code, particularly in hard-to-understand areas
- [x] I have checked for similar issues and haven't found anything relevant.
- [x] This is not a security issue (which should be reported here: https://circleci.com/security/)
- [x] I have read [Contribution Guidelines](https://github.com/CircleCI-Public/circleci-cli/blob/main/CONTRIBUTING.md).
### Internal Checklist
- [ ] I am requesting a review from my own team as well as the owning team
- [ ] I have a plan in place for the monitoring of the changes that I am making (this can include new monitors, logs to be aware of, etc...)
## Changes
=======
- Add a `-q` / `--quiet` flag to support suppressing the pipeline values added in #855
- Print the config values one line at a time, and add newlines
## Rationale
The current output is not aesthetically pleasing, and is also hard to read / follow. Additionally, people may want a way to suppress this new behavior
Fixes #860
## Considerations
Happy to adjust the option name / invert the behavior to make things more consistent with options elsewhere in the program, or to tweak the formatting / output slightly. I think this is, while maybe not perfect, a big improvement.
## Screenshots
<h4>Before</h4>
<img width="722" alt="image" src="https://user-images.githubusercontent.com/10714426/223586655-e66e7613-3e9b-4723-b56d-33733ef53557.png">
<h4>After</h4>
<img width="726" alt="image" src="https://user-images.githubusercontent.com/10714426/223586713-2dcec77b-182b-4228-831f-e188ecee0e63.png">
side note: also filed an issue about the super tricked out (but hard to read on a narrow terminal) help output
opened 06:35PM - 08 Mar 23 UTC
bug
## Meta:
**CircleCI CLI Version:**
```
0.1.23845+f59d90e (homebrew)
```
…
**Operating System:**
Mac OS X
**CircleCI CLI Diagnostic:**
## Current behavior:
When running help commands on a narrow (80-90 character terminal), the super fancy, colorized, tricked out lipstick formatted help text is hard to read / unattractive. The giant ASCII banner also doesn't add a lot of value considering the amount of space it takes up
<img width="720" alt="image" src="https://user-images.githubusercontent.com/10714426/223804010-1fa29d98-866b-4397-af46-78ff8566b120.png">
## Expected behavior:
The CLI should either use a simpler output format, or look at the stated terminal width and resize as appropriate
## When did this begin / Was this previously working?:
I think going back a bunch of versions, the output was more spare (probably before lipstick was introduced).
## Additional Information:
I took a quick pass at setting `Width` on the various lipgloss tepmlates, however, some of the other padding / wrapping / command formatting would have to be adjusted.