Takes an action.yaml
document and prints out a reference table for it's inputs:
action2md action.yaml
Outputs something like:
| Input | Description | Default | Required |
| ------------------- | ------------------- | ------- | -------- |
| `file` | Some important file | | ✔ |
| `optionA` | A | | |
| `optionWithDefault` | B | `foo` | |
$ action2md action.yaml
Usage
$ action2md [action.yaml]
Options
--output, -o Optionally, where to send output
--help Show help
--version Print package version
Examples
$ action2md
| Input | Description | Default | Required |
| ------------------- | ------------------- | ------- | -------- |
| `file` | Some important file | | ✔ |
| `optionA` | A | | |
| `optionWithDefault` | B | `foo` | |