summaryrefslogtreecommitdiff
path: root/src/cli/cmd.h
Commit message (Collapse)AuthorAgeFilesLines
* cli: introduce a clone commandEdward Thomson2022-04-141-0/+1
|
* cli: add `hash-object` commandEdward Thomson2022-02-261-0/+1
| | | | Introduce a simple command that emulates `git hash-object`.
* cli: add `cat-file` commandEdward Thomson2022-02-261-0/+1
| | | | Introduce a simple command that emulates `git cat-file`.
* cli: introduce a help commandEdward Thomson2022-02-261-0/+30
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.