aboutsummaryrefslogtreecommitdiffstats
path: root/src/cli/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Avoid having Command* objects be created until requested.Jack Lloyd2015-12-301-2/+2
| | | | Avoids various static init and destruction hassles.
* CLI rewriteJack Lloyd2015-12-191-157/+29
| | | | | | | | | | | | | | | | | | The command line tools' origin as a collection of examples and test programs glued together led to some unfortunate problems; lots of hardcoded values, missing parameters, and obsolete crypto. Adds a small library for writing command line programs of the sort needed here (cli.h), which cuts the length of many of the commands in half and makes commands more pleasant to write and extend. Generalizes a lot of the commands also, eg previously only signing/verification with DSA/SHA-1 was included! Removes the fuzzer entry point since that's fairly useless outside of an instrumented build. Removes the in-library API for benchmarking.
* Rename cmd/app -> cliSimon Warta2015-12-091-0/+187