Hookup CLI parameters in cli to send them through HTTP request.
Exclude '.json' from cli.json path.
Save intermediate path in cli_ when mode has changed.