Name |
Last commit
|
Last update |
---|---|---|
.. | ||
win32 | ||
CMakeLists.txt | ||
README.md | ||
cli.h | ||
cmd.c | ||
cmd.h | ||
cmd_help.c | ||
error.h | ||
main.c | ||
opt.c | ||
opt.h | ||
opt_usage.c | ||
opt_usage.h |
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.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
win32 | Loading commit data... | |
CMakeLists.txt | Loading commit data... | |
README.md | Loading commit data... | |
cli.h | Loading commit data... | |
cmd.c | Loading commit data... | |
cmd.h | Loading commit data... | |
cmd_help.c | Loading commit data... | |
error.h | Loading commit data... | |
main.c | Loading commit data... | |
opt.c | Loading commit data... | |
opt.h | Loading commit data... | |
opt_usage.c | Loading commit data... | |
opt_usage.h | Loading commit data... |