add docs for `version` subcommand
2 files changed, 9 insertions(+), 0 deletions(-)
docs/commands/README.md+1
| ... | ... | @@ -3,6 +3,7 @@ Listed below is all of the commands available in Zigmod. All are meant to be run |
| 3 | 3 | |
| 4 | 4 | Running `zigmod` with no commands will print this list. |
| 5 | 5 | |
| 6 | - [`version`](version.md) |
| 6 | 7 | - [`init`](init.md) |
| 7 | 8 | - [`fetch`](fetch.md) |
| 8 | 9 | - [`ci`](ci.md) |
docs/commands/version.md created+8
| ... | ... | @@ -0,0 +1,8 @@ |
| 1 | ## `version` command |
| 2 | ``` |
| 3 | zigmod version |
| 4 | ``` |
| 5 | |
| 6 | This command accepts no arguments and will print the Zigmod version string. It will be in the form `zigmod <build>-<commit> <os> <arch> <abi>`. |
| 7 | |
| 8 | At the time of this writing, that would look like `zigmod dev-7f7c2ac linux x86_64 gnu` for example. |