Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cli: support `help <command>` | Edward Thomson | 2022-02-26 | 1 | -7/+16 |
| | | | | | | Support `help <command>` by re-invoking the command itself with the `--help` argument. This allows us to keep the help logic with the commands itself. | ||||
* | cli: introduce a help command | Edward Thomson | 2022-02-26 | 1 | -0/+77 |
Add a framework for commands to be defined, and add our first one, "help". When `git2_cli help` is run, the `cmd_help` function will be invoked with the remaining command line arguments. This allows users to invoke `git2_cli help foo` to get information about the `foo` subcommand. |