INNER CODE UNIT · Python
entrypoint
DHI/terracotta · terracotta/scripts/cli.py:61
def entrypoint() -> None:
try:
cli(obj={})
except Exception:
import logging
logger = logging.getLogger(__name__)
logger.exception("Uncaught exception!", exc_info=True)
sys.exit(1)
from terracotta.scripts.connect import connect
cli.add_command(connect)
from terracotta.scripts.ingest import ingest
cli.add_command(ingest)