Skip to content

Revising DocC content for the CLI commands to be able to read the arguments for the commands #8883

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

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

heckj
Copy link
Member

@heckj heckj commented Jul 1, 2025

Updates to all existing CLI reference documentation to make CLI arguments readable.

Motivation:

The initial run of the argument parser generator dumped the arguments into a single, concatenated string that ended up being pretty unreadable through DocC. This update fixes that to present the arguments in a wrapped-width code block, aligned at 60 characters to make it easier to read in DocC.

This matches the PR being made to swift argument parser to revise the generation of that content: apple/swift-argument-parser#791

Modifications:

Updated the CLI arguments to block formatting for all existing CLI reference documentation pages.

Result:

The arguments for any of the CLI documents are much easier to read.

@bripeticca
Copy link
Contributor

@swift-ci please test

@bripeticca
Copy link
Contributor

@swift-ci please test windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants