Auto-generate markdown command docs (#4451)

* Finish updating

* a couple improvements

* Update renames

* cleanup examples
This commit is contained in:
JT
2022-02-13 21:22:51 -05:00
committed by GitHub
parent 06f5affc0b
commit 8c0a2d3c15
478 changed files with 7676 additions and 8045 deletions

View File

@ -1,46 +1,46 @@
# seq
---
title: seq
layout: command
version: 0.59.0
---
Print sequences of numbers.
## Usage
```shell
> seq ...args <subcommand> {flags}
```
## Signature
## Subcommands
* seq date - print sequences of dates
```> seq ...rest --separator --terminator --widths```
## Parameters
* ...args: sequence values
## Flags
* -h, --help: Display this help message
* -s, --separator <string>: separator character (defaults to \n)
* -t, --terminator <string>: terminator character (defaults to \n)
* -w, --widths: equalize widths of all numbers by padding with zeros
- `...rest`: sequence values
- `--separator {string}`: separator character (defaults to \n)
- `--terminator {string}`: terminator character (defaults to \n)
- `--widths`: equalize widths of all numbers by padding with zeros
## Examples
* sequence 1 to 10 with newline separator
sequence 1 to 10 with newline separator
```shell
> seq 1 10
```
```
* sequence 1.0 to 2.0 by 0.1s with newline separator
sequence 1.0 to 2.0 by 0.1s with newline separator
```shell
> seq 1.0 0.1 2.0
```
```
* sequence 1 to 10 with pipe separator
sequence 1 to 10 with pipe separator
```shell
> seq -s '|' 1 10
```
```
* sequence 1 to 10 with pipe separator padded with 0
sequence 1 to 10 with pipe separator padded with 0
```shell
> seq -s '|' -w 1 10
```
```
* sequence 1 to 10 with pipe separator padded by 2s
sequence 1 to 10 with pipe separator padded by 2s
```shell
> seq -s ' | ' -w 1 2 10
```
```