common-cli: CLI framework

How to specify required vs optional?