Only allow running in CLI mode