summaryrefslogtreecommitdiff
path: root/src/cli/cmd.c
Commit message (Collapse)AuthorAgeFilesLines
* cli: introduce a help commandEdward Thomson2022-02-261-0/+21
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.