lib: Add stronger invariant checks for cmdline package.

It's nice if the cmdline package returns an error if a coding
invariant has been broken anywhere in the command tree, so that
simply running the program at all produces the error.

This CL adds extra checks to make sure command and topic names
are non-empty and unique.

Also remove the cmdline2/.api file; that was only left around to
allow the api check to work during the renaming CL.

Change-Id: Ia8f78c2fc41389d6044ae89b24c4d91fe2aaf1ab
4 files changed
tree: bffbd9e663301531b677112069e1fdf1293f5108
  1. buildinfo/
  2. cmdline/
  3. dbutil/
  4. host/
  5. metadata/
  6. netconfig/
  7. netstate/
  8. pubsub/
  9. textutil/
  10. toposort/
  11. vlog/
  12. .gitignore
  13. AUTHORS
  14. CONTRIBUTORS
  15. GO.PACKAGE
  16. LICENSE
  17. PATENTS
  18. README.md
  19. VERSION
README.md

This repository contains general purpose libraries used by the Vanadium project.