for the CLI and the web server