Option C Tools
Loading...
Searching...
No Matches
__main__.py
Go to the documentation of this file.
1#!/usr/bin/env python3
2# -*- coding: utf-8 -*-
3# oct/__main__.py
4
5"""
6Purpose
7-------
8Enable ``python oct`` and ``python -m oct`` invocations by delegating to the
9OCT CLI entry point.
10
11Responsibilities
12----------------
13- Provide the ``__main__`` entry point for directory/module-mode invocation.
14- Delegate unconditionally to ``oct.cli:cli``.
15- Contain no logic of its own.
16
17Diagnostics
18-----------
19Domain: OCT-CLI
20Levels:
21 L2 — lifecycle
22 L3 — semantic details
23 L4 — deep tracing
24
25Contracts
26---------
27- Must contain no business logic.
28- Must delegate entirely to ``oct.cli:cli``.
29"""
30
31from oct.cli import cli
32
33if __name__ == "__main__":
34 cli()
Definition cli.py:1