cli: support command line variables