generator: open Cmdliner in the cmdliner-using code

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