Consider improving stprov's command-line interface
Currently stprov is really four programs:
- stprov local
- stprov remote static
- stprov remote dhcp
- stprov remote run
First of all, "local" and "remote" are confusing names. An improvement would probably be "client" and "server". There might be even better options, to be considered.
As discussed before: it might make sense to split up the above into four actual programs. E.g., stprov-client, stprov-static, stprov-dhcp, and stprov-server. This would make it easier to document each CLI interface correctly, and it would avoid having to have any subcommands which is easier to understand and maintain (flat structure).
If we're anyway here refactoring, we should also consider if we want to unify our command-line interfaces across ST. E.g., Sigsum started using GNU getopt conventions (https://github.com/pborman/getopt/tree/master/v2) which seems to work well so far. Might also make it easier to generate man pages for our tools with help2man
-- but that I have not verified, just speculation.
FWIW I don't think this would be a that intrusive change on users. We could still keep the same short and long option names; so the main thing that would change is the program name(s).
Related to #49.