You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And yes, we should skip increasing the indent level for first-level subcommands, otherwise the only thing at the main level will be the root command, which is silly.
It should likewise increase the heading levels for each subcommand nest level, all the way to h6 (######) and then to simple bold tags for CLIs with nesting beyond six levels (😱).
## `git`
Git is a fast, scalable, distributed revision control system.
## `git remote`
Manage the set of repositories ("remotes") whose branches you track.
### `git remote add`
Add a remote named <name> for the repository at <URL>.
### `git remote rm`
Remove the remote named <name>.
### `git remote set-url`
Changes URLs for the remote.
## `git submodule`
A submodule is a repository embedded inside another repository.
### `git submodule init`
Initialize the submodules recorded in the index.
### `git submodule deinit`
Unregister the given submodules.
The text was updated successfully, but these errors were encountered:
Given a CLI like:
clap-markdown should generate a TOC like:
And yes, we should skip increasing the indent level for first-level subcommands, otherwise the only thing at the main level will be the root command, which is silly.
It should likewise increase the heading levels for each subcommand nest level, all the way to
h6
(######
) and then to simple bold tags for CLIs with nesting beyond six levels (😱).The text was updated successfully, but these errors were encountered: