Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(summonerd): colorized cli output, via clap v3 #3264

Merged
merged 1 commit into from
Nov 1, 2023
Merged

Conversation

conorsch
Copy link
Contributor

Downgrades clap in summonerd v4 -> v3, to match other CLI tooling. Essentially reverts 7bb3e80. With clap v3, there's extra whitespace between long-arg descriptions, due to our use of long_about in summonerd help docs. A major downside to clap v4 is colorized output doesn't appear to be supported for derive-style (it may be for builder-style, but we don't use that).

There's upstream progress on stabling color support, but until then, let's just stick with v3 and put up with the whitespace.

Downgrades clap in summonerd v4 -> v3, to match other CLI tooling.
Essentially reverts 7bb3e80.
With clap v3, there's extra whitespace between long-arg descriptions,
due to our use of long_about in summonerd help docs. A major downside
to clap v4 is colorized output doesn't appear to be supported for
derive-style (it may be for builder-style, but we don't use that).

There's upstream progress on stabling color support, but until then,
let's just stick with v3 and put up with the whitespace.
@conorsch conorsch temporarily deployed to smoke-test October 31, 2023 23:33 — with GitHub Actions Inactive
@cronokirby
Copy link
Contributor

LGTM!

@cronokirby cronokirby merged commit 23d4b4b into main Nov 1, 2023
8 checks passed
@cronokirby cronokirby deleted the summonerd-clap-3 branch November 1, 2023 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants