Skip to content

Commit

Permalink
chore: update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sigoden committed Dec 22, 2023
1 parent 2390541 commit 9353edc
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 14 deletions.
14 changes: 0 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,20 +198,6 @@ COMMANDS:
test Run test
```

## @meta

Add metadata

```sh
# @meta combine-shorts
# @meta inherit-flag-options
```

| syntax | scope | description |
| -------------------- | ----- | --------------------------------------------------------- |
| combine-shorts | root | Short flags can be combined, e.g. `-xf => -x -f ` |
| inherit-flag-options | root | All subcommands inherit flag/options from parent command. |

### Value Notation

Value notation is used to describe value type of options and positional parameters.
Expand Down
13 changes: 13 additions & 0 deletions docs/meta.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# @meta

Add metadata

```sh
# @meta combine-shorts
# @meta inherit-flag-options
```

| syntax | scope | description |
| -------------------- | ----- | ----------------------------------------------------------- |
| combine-shorts | root | Short flags can be combined, e.g. `prog -xf => prog -x -f ` |
| inherit-flag-options | root | All subcommands inherit flag/options from parent command. |

0 comments on commit 9353edc

Please sign in to comment.