Skip to content

[GenerateDocCReference] Improve filtering and categorization of arguments in documentation with sectionTitle #753

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 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,28 @@
color --fav=<fav> [--second=<second>] [--help]
```

**--fav=\<fav\>:**
## Flags

**`--help`**

*Show help information.*


## Options

**`--fav=\<fav\>`**

*Your favorite color.*


**--second=\<second\>:**
**`--second=\<second\>`**

*Your second favorite color.*

This is optional.


**--help:**

*Show help information.*

## Subcommands

## color.help

Expand All @@ -31,9 +37,6 @@ Show subcommand help information.
color help [<subcommands>...]
```

**subcommands:**




## General

**`subcommands`**
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,34 @@
count-lines [<input-file>] [--prefix=<prefix>] [--verbose] [--help]
```

**input-file:**

*A file to count lines in. If omitted, counts the lines of stdin.*
## Arguments

**`input-file`**

**--prefix=\<prefix\>:**
*A file to count lines in. If omitted, counts the lines of stdin.*

*Only count lines with this prefix.*

## Flags

**--verbose:**
**`--verbose`**

*Include extra information in the output.*


**--help:**
**`--help`**

*Show help information.*


## Options

**`--prefix=\<prefix\>`**

*Only count lines with this prefix.*


## Subcommands

## count-lines.help

Show subcommand help information.
Expand All @@ -34,9 +42,6 @@ Show subcommand help information.
count-lines help [<subcommands>...]
```

**subcommands:**




## General

**`subcommands`**
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,20 @@ A utility for performing maths.
math [--version] [--help]
```

**--version:**
## Flags

**`--version`**

*Show the version.*


**--help:**
**`--help`**

*Show help information.*


## Subcommands

## math.add

Print the sum of the values.
Expand All @@ -26,76 +30,74 @@ Print the sum of the values.
math add [--hex-output] [<values>...] [--version] [--help]
```

**--hex-output:**
## General

**`--hex-output`**

*Use hexadecimal notation for the result.*


**values:**
**`values`**

*A group of integers to operate on.*


**--version:**
**`--version`**

*Show the version.*


**--help:**

*Show help information.*



**`--help`**

## math.multiply
*Show help information.*## math.multiply

Print the product of the values.

```
math multiply [--hex-output] [<values>...] [--version] [--help]
```

**--hex-output:**
## General

**`--hex-output`**

*Use hexadecimal notation for the result.*


**values:**
**`values`**

*A group of integers to operate on.*


**--version:**
**`--version`**

*Show the version.*


**--help:**

*Show help information.*


**`--help`**


## math.stats
*Show help information.*## math.stats

Calculate descriptive statistics.

```
math stats [--version] [--help]
```

**--version:**
## General

**`--version`**

*Show the version.*


**--help:**
**`--help`**

*Show help information.*


## Subcommands

### math.stats.average

Print the average of the values.
Expand All @@ -104,109 +106,95 @@ Print the average of the values.
math stats average [--kind=<kind>] [<values>...] [--version] [--help]
```

**--kind=\<kind\>:**
## General

**`--kind=\<kind\>`**

*The kind of average to provide.*


**values:**
**`values`**

*A group of floating-point values to operate on.*


**--version:**
**`--version`**

*Show the version.*


**--help:**

*Show help information.*



**`--help`**

### math.stats.stdev
*Show help information.*### math.stats.stdev

Print the standard deviation of the values.

```
math stats stdev [<values>...] [--version] [--help]
```

**values:**
## General

**`values`**

*A group of floating-point values to operate on.*


**--version:**
**`--version`**

*Show the version.*


**--help:**

*Show help information.*



**`--help`**

### math.stats.quantiles
*Show help information.*### math.stats.quantiles

Print the quantiles of the values (TBD).

```
math stats quantiles [<one-of-four>] [<custom-arg>] [<values>...] [--file=<file>] [--directory=<directory>] [--shell=<shell>] [--custom=<custom>] [--version] [--help]
```

**one-of-four:**
## General

**`one-of-four`**

**custom-arg:**

**`custom-arg`**

**values:**

**`values`**

*A group of floating-point values to operate on.*


**--file=\<file\>:**
**`--file=\<file\>`**


**--directory=\<directory\>:**
**`--directory=\<directory\>`**


**--shell=\<shell\>:**
**`--shell=\<shell\>`**


**--custom=\<custom\>:**
**`--custom=\<custom\>`**


**--version:**
**`--version`**

*Show the version.*


**--help:**

*Show help information.*




**`--help`**


## math.help
*Show help information.*## math.help

Show subcommand help information.

```
math help [<subcommands>...]
```

**subcommands:**




## General

**`subcommands`**
Loading