Skip to content

Fix help message to correctly show CLI command structure#1068

Merged
egibs merged 2 commits into
chainguard-dev:mainfrom
Ritish134:main
Aug 4, 2025
Merged

Fix help message to correctly show CLI command structure#1068
egibs merged 2 commits into
chainguard-dev:mainfrom
Ritish134:main

Conversation

@Ritish134

Copy link
Copy Markdown
Contributor

This small change makes it clearer for users how to run commands with global flags
Referencing #796,
cc @egibs for thoughts on whether supporting global flags anywhere in the command is worth revisiting in the future.

@egibs

egibs commented Aug 4, 2025

Copy link
Copy Markdown
Member

whether supporting global flags anywhere in the command is worth revisiting in the future

Potentially -- I know the current structure is confusing. This may be something to think about when migrating urfave/cli to v3.

@egibs egibs merged commit 4a891f0 into chainguard-dev:main Aug 4, 2025
12 checks passed
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