Use cmdliner for the test CLI

Signed-off-by: David Scott <dave.scott@citrix.com>