Skip to content

build: Generate CLI docs in GHA#236

Merged
psviderski merged 2 commits intomainfrom
test/tonyo-docs-gha-1
Jan 2, 2026
Merged

build: Generate CLI docs in GHA#236
psviderski merged 2 commits intomainfrom
test/tonyo-docs-gha-1

Conversation

@tonyo
Copy link
Collaborator

@tonyo tonyo commented Dec 30, 2025

CI now should remind us if the CLI docs are out of date.

execCmd.Flags().BoolVarP(&opts.detach, "detach", "d", false, "Detached mode: run command in the background")

execCmd.Flags().BoolVarP(&opts.noTty, "no-tty", "T", !cli.IsStdoutTerminal(),
execCmd.Flags().BoolVarP(&opts.noTty, "no-tty", "T", false,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved this logic below; otherwise the docs would look differently when generated with and without the attached stdout.

Copy link
Owner

@psviderski psviderski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! 👍

@psviderski psviderski merged commit 5e0d4d0 into main Jan 2, 2026
8 checks passed
@psviderski psviderski deleted the test/tonyo-docs-gha-1 branch January 2, 2026 00:23
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