teachbooks.cli.main module

Main CLI module.

teachbooks.cli.main.check_server()

Check if webserver is running and print status.

teachbooks.cli.main.echo_info(message: str) None

Wrapper for writing to stdout.

teachbooks.cli.main.serve_path(servedir: str, verbose: int) None

Start web server with specific path and verbosity.

teachbooks.cli.main.stdout_summary(server) None

Print summary of server status.