Skip to content
Open
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
fcc8f21
[GenerateDocCReference] Improve filtering and categorization of argum…
Chamepp Apr 3, 2025
806544c
fix: handle the assignment of the default sectionTitle value in the g…
Chamepp Apr 3, 2025
49f9f69
fix: handling section titles in the GenerateDocc extension
Chamepp Apr 12, 2025
fa6f077
refactor: update markdown headers to align with DocC formatting
Chamepp Apr 20, 2025
fc96cbe
chore: resolve merge conflicts with upstream/main
Chamepp May 8, 2025
ad95073
fix: solve merge conflict
Chamepp Jun 24, 2025
7659317
fix: update argument categorization logic to match ArgumentParser sta…
Chamepp Jul 1, 2025
2748c0d
fix: update snapshots and solve merge conflict
Chamepp Aug 20, 2025
2d5dcbc
Merge branch 'main' into dev
Chamepp Sep 13, 2025
e8a3720
fix: use monospaced code style for arguments, options, and flags in D…
Chamepp Sep 30, 2025
347fbd6
fix: move colon outside of formatted elements in term lists
Chamepp Sep 30, 2025
2bc6684
fix: remove unnecessary italics from argument abstracts
Chamepp Sep 30, 2025
4679e8a
fix: refine argument rendering by removing unnecessary newlines
Chamepp Sep 30, 2025
3ae506e
refactor: use `let` instead of `var` to signal immutability
Chamepp Sep 30, 2025
2be475e
refactor: rename assignSectionTitle(to:) to sectionTitle(for:) for cl…
Chamepp Sep 30, 2025
71d5903
refactor: make sectionTitle(for:) a fileprivate computed property on …
Chamepp Sep 30, 2025
0b84e4c
fix: align default subcommands abstract with CLI --help output
Chamepp Sep 30, 2025
fe07123
test: add custom section titles to math.quantiles for testing documen…
Chamepp Oct 4, 2025
2bc964f
fix: align argument section sorting in documentation generation with …
Chamepp Oct 4, 2025
4580ced
docs: update documentation generation comments for the refined solution
Chamepp Oct 4, 2025
d1890ed
Merge branch 'main' into dev
Chamepp Oct 4, 2025
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,6 +6,15 @@
color --fav=<fav> [--second=<second>] [--help]
```

### Flags

- term **--help:**

*Show help information.*


### Options

- term **--fav=\<fav\>:**

*Your favorite color.*
Expand All @@ -18,11 +27,6 @@ color --fav=<fav> [--second=<second>] [--help]
This is optional.


- term **--help:**

*Show help information.*


## color.help

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

- term **subcommands:**




### Arguments

- term **subcommands:**
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
color --fav=<fav> [--second=<second>] [--help]
```

### Flags

**--help:**

*Show help information.*


### Options

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

*Your favorite color.*
Expand All @@ -18,11 +27,6 @@ color --fav=<fav> [--second=<second>] [--help]
This is optional.


**--help:**

*Show help information.*


## color.help

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

**subcommands:**




### Arguments

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

### Arguments

- term **input-file:**

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


- term **--prefix=\<prefix\>:**

*Only count lines with this prefix.*

### Flags

- term **--verbose:**

Expand All @@ -26,6 +25,13 @@ count-lines [<input-file>] [--prefix=<prefix>] [--verbose] [--help]
*Show help information.*


### Options

- term **--prefix=\<prefix\>:**

*Only count lines with this prefix.*


## count-lines.help

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

- term **subcommands:**




### Arguments

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

### Arguments

**input-file:**

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


**--prefix=\<prefix\>:**

*Only count lines with this prefix.*

### Flags

**--verbose:**

Expand All @@ -26,6 +25,13 @@ count-lines [<input-file>] [--prefix=<prefix>] [--verbose] [--help]
*Show help information.*


### Options

**--prefix=\<prefix\>:**

*Only count lines with this prefix.*


## count-lines.help

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

**subcommands:**




### Arguments

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

### Flags

- term **--version:**

*Show the version.*
Expand All @@ -26,16 +28,20 @@ Print the sum of the values.
math add [--hex-output] [<values>...] [--version] [--help]
```

- term **--hex-output:**

*Use hexadecimal notation for the result.*

### Arguments

- term **values:**

*A group of integers to operate on.*


### Flags

- term **--hex-output:**

*Use hexadecimal notation for the result.*


- term **--version:**

*Show the version.*
Expand All @@ -45,9 +51,6 @@ math add [--hex-output] [<values>...] [--version] [--help]

*Show help information.*




## math.multiply

Print the product of the values.
Expand All @@ -56,16 +59,20 @@ Print the product of the values.
math multiply [--hex-output] [<values>...] [--version] [--help]
```

- term **--hex-output:**

*Use hexadecimal notation for the result.*

### Arguments

- term **values:**

*A group of integers to operate on.*


### Flags

- term **--hex-output:**

*Use hexadecimal notation for the result.*


- term **--version:**

*Show the version.*
Expand All @@ -75,9 +82,6 @@ math multiply [--hex-output] [<values>...] [--version] [--help]

*Show help information.*




## math.stats

Calculate descriptive statistics.
Expand All @@ -86,6 +90,8 @@ Calculate descriptive statistics.
math stats [--version] [--help]
```

### Flags

- term **--version:**

*Show the version.*
Expand All @@ -104,16 +110,15 @@ Print the average of the values.
math stats average [--kind=<kind>] [<values>...] [--version] [--help]
```

- term **--kind=\<kind\>:**

*The kind of average to provide.*

### Arguments

- term **values:**

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


### Flags

- term **--version:**

*Show the version.*
Expand All @@ -124,7 +129,11 @@ math stats average [--kind=<kind>] [<values>...] [--version] [--help]
*Show help information.*


### Options

- term **--kind=\<kind\>:**

*The kind of average to provide.*

### math.stats.stdev

Expand All @@ -134,11 +143,15 @@ Print the standard deviation of the values.
math stats stdev [<values>...] [--version] [--help]
```

### Arguments

- term **values:**

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


### Flags

- term **--version:**

*Show the version.*
Expand All @@ -148,9 +161,6 @@ math stats stdev [<values>...] [--version] [--help]

*Show help information.*




### math.stats.quantiles

Print the quantiles of the values (TBD).
Expand All @@ -159,6 +169,8 @@ Print the quantiles of the values (TBD).
math stats quantiles [<one-of-four>] [<custom-arg>] [<custom-deprecated-arg>] [<values>...] [--file=<file>] [--directory=<directory>] [--shell=<shell>] [--custom=<custom>] [--custom-deprecated=<custom-deprecated>] [--version] [--help]
```

### Arguments

- term **one-of-four:**


Expand All @@ -173,34 +185,33 @@ math stats quantiles [<one-of-four>] [<custom-arg>] [<custom-deprecated-arg>] [<
*A group of floating-point values to operate on.*


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

### Flags

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


- term **--shell=\<shell\>:**
- term **--version:**

*Show the version.*

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

- term **--help:**

- term **--custom-deprecated=\<custom-deprecated\>:**
*Show help information.*


- term **--version:**
### Options

*Show the version.*
- term **--file=\<file\>:**


- term **--help:**
- term **--directory=\<directory\>:**

*Show help information.*

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


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


- term **--custom-deprecated=\<custom-deprecated\>:**

## math.help

Expand All @@ -210,9 +221,6 @@ Show subcommand help information.
math help [<subcommands>...]
```

- term **subcommands:**




### Arguments

- term **subcommands:**
Loading