Files
computer-playbook/cli/create/inventory/__main__.py
T
kevinveenbirkenbach a354992f27 refactor(create-inventory): modularize CLI, stabilize path handling, add unit tests
- Split create-inventory logic into focused modules (cli, project, filters, host_vars, credentials, etc.)
- Replace fragile path construction with python -m module execution
- Add robust project root detection
- Centralize password generation
- Improve test coverage with per-module unit tests
- Preserve existing inventory and host_vars behavior

https://chatgpt.com/share/69471157-79c0-800f-8dec-25c0f8e38f03
2025-12-20 22:12:44 +01:00

10 lines
183 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from __future__ import annotations
from .cli import main
if __name__ == "__main__": # pragma: no cover
raise SystemExit(main())