womm-cli 5.1.0__tar.gz → 5.1.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. {womm_cli-5.1.0 → womm_cli-5.1.1}/PKG-INFO +1 -1
  2. womm_cli-5.1.1/TODO.md +98 -0
  3. {womm_cli-5.1.0 → womm_cli-5.1.1}/pyproject.toml +1 -1
  4. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/_version.py +1 -1
  5. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/cli.py +3 -1
  6. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/commands/core/doctor.py +7 -5
  7. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/commands/core/path.py +63 -20
  8. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/commands/project/create.py +5 -4
  9. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/commands/project/setup.py +30 -14
  10. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/commands/project/template.py +25 -11
  11. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/commands/system/context/__init__.py +8 -3
  12. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/commands/system/context/backup.py +41 -17
  13. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/commands/system/context/inventory.py +14 -7
  14. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/commands/system/context/registration.py +23 -11
  15. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/commands/system/deps.py +20 -10
  16. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/commands/system/system.py +16 -10
  17. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/project/copier_project_creation_service.py +3 -2
  18. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/__init__.py +2 -5
  19. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/common/interactive_menu.py +12 -4
  20. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/common/prompts.py +4 -2
  21. {womm_cli-5.1.0 → womm_cli-5.1.1}/uv.lock +1 -1
  22. womm_cli-5.1.0/TODO.md +0 -95
  23. {womm_cli-5.1.0 → womm_cli-5.1.1}/.github/dependabot.yml +0 -0
  24. {womm_cli-5.1.0 → womm_cli-5.1.1}/.github/workflows/00-install-deps.yml +0 -0
  25. {womm_cli-5.1.0 → womm_cli-5.1.1}/.github/workflows/01-ci.yml +0 -0
  26. {womm_cli-5.1.0 → womm_cli-5.1.1}/.github/workflows/02-tag-sync.yml +0 -0
  27. {womm_cli-5.1.0 → womm_cli-5.1.1}/.github/workflows/03-publish.yml +0 -0
  28. {womm_cli-5.1.0 → womm_cli-5.1.1}/.github/workflows/04-docs.yml +0 -0
  29. {womm_cli-5.1.0 → womm_cli-5.1.1}/.github/workflows/README.md +0 -0
  30. {womm_cli-5.1.0 → womm_cli-5.1.1}/.gitignore +0 -0
  31. {womm_cli-5.1.0 → womm_cli-5.1.1}/.markdownlint.yaml +0 -0
  32. {womm_cli-5.1.0 → womm_cli-5.1.1}/.pre-commit-config.yaml +0 -0
  33. {womm_cli-5.1.0 → womm_cli-5.1.1}/.python-version +0 -0
  34. {womm_cli-5.1.0 → womm_cli-5.1.1}/.scripts/dev/check_merge_conflict.py +0 -0
  35. {womm_cli-5.1.0 → womm_cli-5.1.1}/.scripts/dev/check_toml.py +0 -0
  36. {womm_cli-5.1.0 → womm_cli-5.1.1}/.scripts/dev/check_yaml.py +0 -0
  37. {womm_cli-5.1.0 → womm_cli-5.1.1}/.scripts/dev/generate_architecture_graph.py +0 -0
  38. {womm_cli-5.1.0 → womm_cli-5.1.1}/.scripts/dev/update_version.py +0 -0
  39. {womm_cli-5.1.0 → womm_cli-5.1.1}/AGENTS.md +0 -0
  40. {womm_cli-5.1.0 → womm_cli-5.1.1}/LICENSE +0 -0
  41. {womm_cli-5.1.0 → womm_cli-5.1.1}/README.md +0 -0
  42. {womm_cli-5.1.0 → womm_cli-5.1.1}/cliff.toml +0 -0
  43. {womm_cli-5.1.0 → womm_cli-5.1.1}/mkdocs.yml +0 -0
  44. {womm_cli-5.1.0 → womm_cli-5.1.1}/requirements-dev.in +0 -0
  45. {womm_cli-5.1.0 → womm_cli-5.1.1}/requirements.in +0 -0
  46. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/__init__.py +0 -0
  47. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/__main__.py +0 -0
  48. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/meta/copier.yml +0 -0
  49. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/meta/template/README.md.jinja +0 -0
  50. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/meta/template/copier.yml.jinja +0 -0
  51. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/meta/template/template/.gitkeep +0 -0
  52. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/copier.yml +0 -0
  53. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/.gitignore.jinja +0 -0
  54. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/.nvmrc.jinja +0 -0
  55. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/.prettierignore.jinja +0 -0
  56. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/README.md.jinja +0 -0
  57. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/biome.json.jinja +0 -0
  58. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/eslint.config.mjs.jinja +0 -0
  59. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/index.html.jinja +0 -0
  60. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/package.json.jinja +0 -0
  61. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/prettier.config.mjs.jinja +0 -0
  62. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/src/App.jsx.jinja +0 -0
  63. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/src/App.tsx.jinja +0 -0
  64. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/src/App.vue.jinja +0 -0
  65. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/src/index.jsx.jinja +0 -0
  66. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/src/index.tsx.jinja +0 -0
  67. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/src/main.js.jinja +0 -0
  68. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/src/main.ts.jinja +0 -0
  69. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/tsconfig.json.jinja +0 -0
  70. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/vite.config.mjs.jinja +0 -0
  71. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/{% if with_ci %}.github{% endif %}/workflows/ci.yml.jinja +0 -0
  72. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/{% if with_tests %}tests{% endif %}/smoke.test.js.jinja +0 -0
  73. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/{% if with_tests %}tests{% endif %}/smoke.test.ts.jinja +0 -0
  74. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/{% if with_vscode %}.vscode{% endif %}/extensions.json.jinja +0 -0
  75. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/javascript/template/{% if with_vscode %}.vscode{% endif %}/settings.json.jinja +0 -0
  76. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/copier.yml +0 -0
  77. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/.gitignore.jinja +0 -0
  78. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/.pre-commit-config.yaml.jinja +0 -0
  79. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/.python-version.jinja +0 -0
  80. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/README.md.jinja +0 -0
  81. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/pyproject.toml.jinja +0 -0
  82. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if framework == 'django' %}manage.py{% endif %}.jinja +0 -0
  83. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if not use_src_layout %}{{ package_name }}{% endif %}/__init__.py.jinja +0 -0
  84. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if not use_src_layout %}{{ package_name }}{% endif %}/asgi.py.jinja +0 -0
  85. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if not use_src_layout %}{{ package_name }}{% endif %}/core/__init__.py.jinja +0 -0
  86. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if not use_src_layout %}{{ package_name }}{% endif %}/core/apps.py.jinja +0 -0
  87. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if not use_src_layout %}{{ package_name }}{% endif %}/core/models.py.jinja +0 -0
  88. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if not use_src_layout %}{{ package_name }}{% endif %}/core/views.py.jinja +0 -0
  89. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if not use_src_layout %}{{ package_name }}{% endif %}/py.typed +0 -0
  90. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if not use_src_layout %}{{ package_name }}{% endif %}/settings.py.jinja +0 -0
  91. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if not use_src_layout %}{{ package_name }}{% endif %}/urls.py.jinja +0 -0
  92. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if not use_src_layout %}{{ package_name }}{% endif %}/wsgi.py.jinja +0 -0
  93. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if use_src_layout %}src{% endif %}/{{ package_name }}/__init__.py.jinja +0 -0
  94. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if use_src_layout %}src{% endif %}/{{ package_name }}/asgi.py.jinja +0 -0
  95. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if use_src_layout %}src{% endif %}/{{ package_name }}/core/__init__.py.jinja +0 -0
  96. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if use_src_layout %}src{% endif %}/{{ package_name }}/core/apps.py.jinja +0 -0
  97. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if use_src_layout %}src{% endif %}/{{ package_name }}/core/models.py.jinja +0 -0
  98. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if use_src_layout %}src{% endif %}/{{ package_name }}/core/views.py.jinja +0 -0
  99. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if use_src_layout %}src{% endif %}/{{ package_name }}/py.typed +0 -0
  100. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if use_src_layout %}src{% endif %}/{{ package_name }}/settings.py.jinja +0 -0
  101. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if use_src_layout %}src{% endif %}/{{ package_name }}/urls.py.jinja +0 -0
  102. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if use_src_layout %}src{% endif %}/{{ package_name }}/wsgi.py.jinja +0 -0
  103. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if with_ci %}.github{% endif %}/workflows/ci.yml.jinja +0 -0
  104. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if with_tests %}tests{% endif %}/test_smoke.py.jinja +0 -0
  105. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if with_vscode %}.vscode{% endif %}/extensions.json.jinja +0 -0
  106. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/assets/copier/official/python/template/{% if with_vscode %}.vscode{% endif %}/settings.json.jinja +0 -0
  107. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/bin/refresh_env.cmd +0 -0
  108. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/commands/__init__.py +0 -0
  109. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/commands/core/__init__.py +0 -0
  110. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/commands/project/__init__.py +0 -0
  111. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/commands/system/__init__.py +0 -0
  112. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/exceptions/__init__.py +0 -0
  113. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/exceptions/common/__init__.py +0 -0
  114. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/exceptions/common/command_service.py +0 -0
  115. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/exceptions/common/file_service.py +0 -0
  116. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/exceptions/common/security_service.py +0 -0
  117. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/exceptions/common/validation_service.py +0 -0
  118. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/exceptions/context/__init__.py +0 -0
  119. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/exceptions/context/context_service.py +0 -0
  120. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/exceptions/project/__init__.py +0 -0
  121. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/exceptions/project/project_service.py +0 -0
  122. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/exceptions/system/__init__.py +0 -0
  123. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/exceptions/system/system_service.py +0 -0
  124. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/__init__.py +0 -0
  125. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/context/__init__.py +0 -0
  126. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/context/menu_interface.py +0 -0
  127. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/context/registry_interface.py +0 -0
  128. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/context/script_detector_interface.py +0 -0
  129. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/context/script_registrar.py +0 -0
  130. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/core/__init__.py +0 -0
  131. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/core/doctor_interface.py +0 -0
  132. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/dependencies/__init__.py +0 -0
  133. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/dependencies/deps_interface.py +0 -0
  134. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/project/__init__.py +0 -0
  135. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/project/create_interface.py +0 -0
  136. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/project/detection_interface.py +0 -0
  137. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/project/manager_interface.py +0 -0
  138. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/project/setup_interface.py +0 -0
  139. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/project/template_store_interface.py +0 -0
  140. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/system/__init__.py +0 -0
  141. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/system/detector_interface.py +0 -0
  142. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/system/environment_interface.py +0 -0
  143. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/interfaces/system/path_interface.py +0 -0
  144. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/__init__.py +0 -0
  145. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/common/__init__.py +0 -0
  146. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/common/base_validation_service.py +0 -0
  147. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/common/command_runner_service.py +0 -0
  148. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/common/file_scanner_service.py +0 -0
  149. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/common/security_validator_service.py +0 -0
  150. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/context/__init__.py +0 -0
  151. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/context/backup_entries.py +0 -0
  152. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/context/parameters.py +0 -0
  153. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/context/registry_paths.py +0 -0
  154. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/context/registry_service.py +0 -0
  155. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/context/validation_service.py +0 -0
  156. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/dependencies/__init__.py +0 -0
  157. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/dependencies/probe.py +0 -0
  158. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/project/__init__.py +0 -0
  159. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/project/destination_guard.py +0 -0
  160. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/project/detection_service.py +0 -0
  161. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/project/env_utils.py +0 -0
  162. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/project/javascript_environment_service.py +0 -0
  163. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/project/python_environment_service.py +0 -0
  164. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/project/setup_profile_resolver.py +0 -0
  165. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/project/template_store_service.py +0 -0
  166. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/project/validation_service.py +0 -0
  167. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/system/__init__.py +0 -0
  168. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/system/detector_service.py +0 -0
  169. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/system/environment_service.py +0 -0
  170. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/services/system/path_service.py +0 -0
  171. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/__init__.py +0 -0
  172. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/__init__.py +0 -0
  173. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/context/__init__.py +0 -0
  174. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/context/context_config.py +0 -0
  175. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/context/context_file_types_config.py +0 -0
  176. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/context/context_limits_config.py +0 -0
  177. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/context/context_paths_config.py +0 -0
  178. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/context/context_types_config.py +0 -0
  179. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/context/script_config.py +0 -0
  180. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/dependencies/__init__.py +0 -0
  181. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/dependencies/runtime_config.py +0 -0
  182. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/dependencies/runtime_package_manager_config.py +0 -0
  183. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/logging_config.py +0 -0
  184. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/project/__init__.py +0 -0
  185. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/project/project_config.py +0 -0
  186. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/project/project_structure_config.py +0 -0
  187. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/project/python_project_config.py +0 -0
  188. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/security/__init__.py +0 -0
  189. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/security/security_patterns_config.py +0 -0
  190. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/system/__init__.py +0 -0
  191. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/system/system_detector_config.py +0 -0
  192. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/configs/system/system_environment_config.py +0 -0
  193. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/models/__init__.py +0 -0
  194. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/models/template_source.py +0 -0
  195. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/paths.py +0 -0
  196. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/results/__init__.py +0 -0
  197. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/results/base.py +0 -0
  198. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/results/command_results.py +0 -0
  199. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/results/context_results.py +0 -0
  200. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/results/dependency_results.py +0 -0
  201. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/results/doctor_results.py +0 -0
  202. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/results/file_results.py +0 -0
  203. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/results/project_results.py +0 -0
  204. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/results/security_results.py +0 -0
  205. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/results/system_results.py +0 -0
  206. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/results/template_results.py +0 -0
  207. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/shared/runtime.py +0 -0
  208. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/common/__init__.py +0 -0
  209. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/common/logging.py +0 -0
  210. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/context/__init__.py +0 -0
  211. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/context/display.py +0 -0
  212. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/context/menu_display.py +0 -0
  213. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/context/wizard.py +0 -0
  214. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/project/__init__.py +0 -0
  215. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/project/create/create_completion_summaries.py +0 -0
  216. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/project/project_wizard.py +0 -0
  217. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/project/setup/setup_completion_summaries.py +0 -0
  218. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/project/templates/template_store_display.py +0 -0
  219. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/system/__init__.py +0 -0
  220. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/system/display.py +0 -0
  221. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/ui/system/path_display.py +0 -0
  222. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/__init__.py +0 -0
  223. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/common/__init__.py +0 -0
  224. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/common/file_scanner_utils.py +0 -0
  225. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/common/path_resolver_utils.py +0 -0
  226. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/common/safe_fs_utils.py +0 -0
  227. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/context/__init__.py +0 -0
  228. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/context/core_utils.py +0 -0
  229. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/context/icon_utils.py +0 -0
  230. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/project/__init__.py +0 -0
  231. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/project/asset_utils.py +0 -0
  232. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/project/core_utils.py +0 -0
  233. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/project/file_utils.py +0 -0
  234. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/project/platform_utils.py +0 -0
  235. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/project/validation_utils.py +0 -0
  236. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/security/__init__.py +0 -0
  237. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/security/security_validation_utils.py +0 -0
  238. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/system/__init__.py +0 -0
  239. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/system/detector_utils.py +0 -0
  240. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/system/environment_utils.py +0 -0
  241. {womm_cli-5.1.0 → womm_cli-5.1.1}/src/womm/utils/system/path_utils.py +0 -0
  242. {womm_cli-5.1.0 → womm_cli-5.1.1}/uv.toml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: womm-cli
3
- Version: 5.1.0
3
+ Version: 5.1.1
4
4
  Summary: Universal development tools for Python and JavaScript - Automatic installation, cross-platform configuration, global commands
5
5
  Project-URL: Homepage, https://github.com/neuraaak/WOMM
6
6
  Project-URL: Documentation, https://neuraaak.github.io/WOMM/
womm_cli-5.1.1/TODO.md ADDED
@@ -0,0 +1,98 @@
1
+ # Backlog consolidé — WOMM
2
+
3
+ > État vérifié le **2026-11-25** sur `main` (`6cb0c80`, release 5.1.0).
4
+ > Vue actionnable de la mémoire du projet :
5
+ > `~/.agents/memory/projects/e-dev-python-womm/current-backlog.md`.
6
+ > La numérotation des lots est conservée pour les références existantes ;
7
+ > les sections et items terminés ont été retirés.
8
+
9
+ ---
10
+
11
+ ## Priorité 3 — finaliser la migration ezplog 2.x
12
+
13
+ `EzplBridge` est supprimé, les API publiques d'ezplog 2.x sont adoptées et
14
+ l'accès temporaire à la console Rich est isolé dans `WommPrinter.console`.
15
+ Il ne reste que l'attente amont.
16
+
17
+ - [ ] Supprimer `WommPrinter.console` lorsque ezplog exposera un accesseur
18
+ public équivalent. **Bloqué en amont** : revérifié sur ezplog 2.3.4 le
19
+ 2026-11-23, aucun accesseur public de console n'existe encore, et
20
+ l'adaptateur a 19 appelants de production.
21
+
22
+ **Critère de sortie du lot :** l'intégration ne duplique aucune capacité
23
+ publique d'ezplog 2.x et n'accède à ses attributs privés qu'au travers du
24
+ seul adaptateur temporaire documenté.
25
+
26
+ ---
27
+
28
+ ## Priorité 4 — distribution, release et documentation
29
+
30
+ > **Canal arrêté le 2026-10-29 : `uv tool install` ou pip, et rien d'autre.**
31
+ > Le canal standalone (Inno Setup) et le dispatcher `install.ps1` sont
32
+ > abandonnés : un script maison ne ferait que relayer `uv tool install`,
33
+ > tout en créant une surface d'attaque et un jumeau à maintenir pour les
34
+ > autres OS.
35
+
36
+ ### 4.5 Publication PyPI
37
+
38
+ > **Nommage arrêté le 2026-10-29 :** le projet reste `womm` partout — dépôt,
39
+ > paquet importable, commande, données `~/.womm`. Seul le nom de
40
+ > distribution est `womm-cli`, parce que `womm` est pris sur PyPI.
41
+
42
+ `womm-cli` 5.1.0 est publié par le Trusted Publisher, sans jeton ; la doc
43
+ versionnée (mike) est déployée à chaque release et la racine de `gh-pages`
44
+ ne contient plus que ce que mike gère. `works-on-my-machine` 3.2.4 est
45
+ publié avec le statut *Inactive*.
46
+
47
+ - [ ] Archiver `works-on-my-machine` sur PyPI. **Manuel et irréversible** :
48
+ dernière étape, à faire depuis l'interface PyPI.
49
+
50
+ **Critère de sortie du lot :** l'ancien nom est archivé et ne propose plus
51
+ de mise à jour silencieuse.
52
+
53
+ ---
54
+
55
+ ## Priorité 5 — tester les services qui écrivent sur la machine
56
+
57
+ Couverture mesurée le 2026-11-25 (globale : 71,33 %).
58
+
59
+ - [ ] `services/system/path_service.py` — **20 %**. Écrit le PATH
60
+ utilisateur : un défaut y fait perdre des données. Priorité de ce lot.
61
+ - [ ] `services/context/registry_service.py` — **9 %**. Écrit dans le
62
+ registre Windows (menu contextuel).
63
+ - [ ] `services/context/validation_service.py` — **10 %**.
64
+
65
+ **Critère de sortie du lot :** chaque écriture (PATH, registre) a un test
66
+ qui vérifie ce qui est écrit, et un test du chemin d'échec qui vérifie
67
+ que rien n'est perdu.
68
+
69
+ ---
70
+
71
+ ## Priorité 6 — corrections qui changent un comportement
72
+
73
+ - [ ] `ui/context/wizard.py` (l. 105 et l. 394, `FIXME`) :
74
+ `PathValidator.validate()` renvoie `None`, donc le contrôle d'extension
75
+ des scripts n'est jamais appliqué. Le réparer refuse des scripts
76
+ aujourd'hui acceptés : **décision du user**, puis test.
77
+ - [ ] Essayer une fois `womm setup python -I` : la question VS Code
78
+ ajoutée en 5.1.0 n'a pas de test automatique.
79
+
80
+ ---
81
+
82
+ ## Décisions assumées, à ne pas rouvrir sans raison
83
+
84
+ - `--setup` sur un projet pip qui demande un Python plus récent que celui de
85
+ WOMM : pip refuse l'installation avec un message clair, affiché en
86
+ avertissement. Non traité (2026-11-24) ; avec uv, le cas n'existe pas.
87
+ - `setup python --setup-git-hooks` lance le `pre-commit` du `.venv` du
88
+ projet : même modèle de confiance que le `pip` du venv. Jugé non bloquant.
89
+
90
+ ---
91
+
92
+ ## Ordre de reprise recommandé
93
+
94
+ 1. Tests de `path_service` (priorité 5) — seul risque de perte de données.
95
+ 2. Tests du registre `context`, puis la décision sur le `FIXME` du wizard.
96
+ 3. Archiver `works-on-my-machine` sur PyPI.
97
+ 4. Reprendre la suppression de `WommPrinter.console` dès qu'ezplog expose un
98
+ accesseur public.
@@ -14,7 +14,7 @@ build-backend = "hatchling.build"
14
14
 
15
15
  [project]
16
16
  name = "womm-cli"
17
- version = "5.1.0"
17
+ version = "5.1.1"
18
18
  description = "Universal development tools for Python and JavaScript - Automatic installation, cross-platform configuration, global commands"
19
19
  readme = "README.md"
20
20
  license = { text = "MIT" }
@@ -7,4 +7,4 @@
7
7
 
8
8
  from __future__ import annotations
9
9
 
10
- __version__ = "5.1.0"
10
+ __version__ = "5.1.1"
@@ -23,7 +23,6 @@ from ._version import __version__
23
23
  from .commands.core import doctor_cmd, path_group
24
24
  from .commands.project import create_command, setup_group, template_group
25
25
  from .commands.system import context_group, deps_group, system_group
26
- from .ui.common import ezprinter
27
26
 
28
27
  # ///////////////////////////////////////////////////////////////
29
28
  # CONSOLE CONFIGURATION
@@ -57,6 +56,9 @@ _configure_windows_console()
57
56
  def womm(ctx: click.Context) -> None:
58
57
  """🛠️ Works On My Machine - Universal development tools."""
59
58
  if ctx.invoked_subcommand is None:
59
+ # Imported here: the logger setup must not slow down `--version`/`-h`.
60
+ from .ui.common import ezprinter
61
+
60
62
  ezprinter.console.print(r"""
61
63
  ================================================================================
62
64
  __ _____ __ __ __ __
@@ -18,12 +18,8 @@ from __future__ import annotations
18
18
  # ///////////////////////////////////////////////////////////////
19
19
  # Third-party imports
20
20
  import click
21
- from ezplog import LogLevel
22
21
 
23
- # Local imports
24
- from ...interfaces import DoctorInterface
25
- from ...ui.common import ezpl, ezprinter
26
- from ...ui.system import render_doctor_result
22
+ # Heavy imports stay in the callbacks: `womm -h` must not load them.
27
23
 
28
24
  # ///////////////////////////////////////////////////////////////
29
25
  # COMMAND
@@ -40,6 +36,12 @@ from ...ui.system import render_doctor_result
40
36
  )
41
37
  def doctor_cmd(verbose: bool) -> None:
42
38
  """🩺 Report the installed runtime without changing user configuration."""
39
+ from ezplog import LogLevel
40
+
41
+ from ...interfaces import DoctorInterface
42
+ from ...ui.common import ezpl, ezprinter
43
+ from ...ui.system import render_doctor_result
44
+
43
45
  if verbose:
44
46
  ezpl.set_level(LogLevel.DEBUG.label)
45
47
 
@@ -14,26 +14,14 @@ from __future__ import annotations
14
14
  # Standard library imports
15
15
  import sys
16
16
  from pathlib import Path
17
+ from typing import TYPE_CHECKING
17
18
 
18
19
  # Third-party imports
19
20
  import click
20
- from ezplog import LogLevel
21
-
22
- # Local imports
23
- from ...interfaces import SystemPathInterface
24
- from ...ui.common import (
25
- InteractiveMenu,
26
- ezpl,
27
- ezprinter,
28
- format_backup_item,
29
- )
30
- from ...ui.system import (
31
- render_path_backup_content_result,
32
- render_path_backup_list_result,
33
- render_path_backup_result,
34
- render_path_entries_result,
35
- render_path_operation_result,
36
- )
21
+
22
+ # Heavy imports stay in the callbacks: `womm -h` must not load them.
23
+ if TYPE_CHECKING:
24
+ from ...interfaces import SystemPathInterface
37
25
 
38
26
  # ///////////////////////////////////////////////////////////////
39
27
  # CONSTANTS
@@ -76,6 +64,12 @@ def path_backup_group() -> None:
76
64
  )
77
65
  def path_list(verbose: bool) -> None:
78
66
  """📋 List the entries of your current PATH."""
67
+ from ezplog import LogLevel
68
+
69
+ from ...interfaces import SystemPathInterface
70
+ from ...ui.common import ezpl, ezprinter
71
+ from ...ui.system import render_path_entries_result
72
+
79
73
  if verbose:
80
74
  ezpl.set_level(LogLevel.DEBUG.label)
81
75
 
@@ -91,7 +85,7 @@ def path_list(verbose: bool) -> None:
91
85
  # ///////////////////////////////////////////////////////////////
92
86
 
93
87
 
94
- @path_group.command("add")
88
+ @path_group.command("add", no_args_is_help=True)
95
89
  @click.help_option("-h", "--help")
96
90
  @click.argument("directory", type=click.Path(path_type=Path))
97
91
  @click.option(
@@ -106,6 +100,12 @@ def path_add(directory: Path, verbose: bool) -> None:
106
100
  DIRECTORY must exist and hold at least one executable. The current PATH
107
101
  is backed up before the change, so 'backup restore' undoes it.
108
102
  """
103
+ from ezplog import LogLevel
104
+
105
+ from ...interfaces import SystemPathInterface
106
+ from ...ui.common import ezpl, ezprinter
107
+ from ...ui.system import render_path_operation_result
108
+
109
109
  if verbose:
110
110
  ezpl.set_level(LogLevel.DEBUG.label)
111
111
 
@@ -116,7 +116,7 @@ def path_add(directory: Path, verbose: bool) -> None:
116
116
  sys.exit(1)
117
117
 
118
118
 
119
- @path_group.command("remove")
119
+ @path_group.command("remove", no_args_is_help=True)
120
120
  @click.help_option("-h", "--help")
121
121
  @click.argument("directory", type=click.Path(path_type=Path))
122
122
  @click.option(
@@ -132,6 +132,12 @@ def path_remove(directory: Path, verbose: bool) -> None:
132
132
  tool is the usual reason to run this. The current PATH is backed up
133
133
  before the change.
134
134
  """
135
+ from ezplog import LogLevel
136
+
137
+ from ...interfaces import SystemPathInterface
138
+ from ...ui.common import ezpl, ezprinter
139
+ from ...ui.system import render_path_operation_result
140
+
135
141
  if verbose:
136
142
  ezpl.set_level(LogLevel.DEBUG.label)
137
143
 
@@ -157,6 +163,12 @@ def path_remove(directory: Path, verbose: bool) -> None:
157
163
  )
158
164
  def path_backup_create(verbose: bool) -> None:
159
165
  """💾 Create a backup of your current PATH."""
166
+ from ezplog import LogLevel
167
+
168
+ from ...interfaces import SystemPathInterface
169
+ from ...ui.common import ezpl, ezprinter
170
+ from ...ui.system import render_path_backup_result
171
+
160
172
  if verbose:
161
173
  ezpl.set_level(LogLevel.DEBUG.label)
162
174
 
@@ -177,6 +189,12 @@ def path_backup_create(verbose: bool) -> None:
177
189
  )
178
190
  def path_backup_list(verbose: bool) -> None:
179
191
  """📋 List available PATH backups."""
192
+ from ezplog import LogLevel
193
+
194
+ from ...interfaces import SystemPathInterface
195
+ from ...ui.common import ezpl, ezprinter
196
+ from ...ui.system import render_path_backup_list_result
197
+
180
198
  if verbose:
181
199
  ezpl.set_level(LogLevel.DEBUG.label)
182
200
 
@@ -187,7 +205,7 @@ def path_backup_list(verbose: bool) -> None:
187
205
  sys.exit(1)
188
206
 
189
207
 
190
- @path_backup_group.command("show")
208
+ @path_backup_group.command("show", no_args_is_help=True)
191
209
  @click.help_option("-h", "--help")
192
210
  @click.argument("name")
193
211
  @click.option(
@@ -198,6 +216,12 @@ def path_backup_list(verbose: bool) -> None:
198
216
  )
199
217
  def path_backup_show(name: str, verbose: bool) -> None:
200
218
  """🔍 Show the content of a PATH backup (file name, not a path)."""
219
+ from ezplog import LogLevel
220
+
221
+ from ...interfaces import SystemPathInterface
222
+ from ...ui.common import ezpl, ezprinter
223
+ from ...ui.system import render_path_backup_content_result
224
+
201
225
  if verbose:
202
226
  ezpl.set_level(LogLevel.DEBUG.label)
203
227
 
@@ -223,6 +247,11 @@ def path_backup_restore(name: str | None, verbose: bool) -> None:
223
247
  NAME is a bare backup file name, as listed by 'backup list'. Without
224
248
  NAME, a backup is chosen interactively.
225
249
  """
250
+ from ezplog import LogLevel
251
+
252
+ from ...interfaces import SystemPathInterface
253
+ from ...ui.common import ezpl, ezprinter
254
+
226
255
  if verbose:
227
256
  ezpl.set_level(LogLevel.DEBUG.label)
228
257
 
@@ -241,6 +270,8 @@ def path_backup_restore(name: str | None, verbose: bool) -> None:
241
270
 
242
271
  def _confirm_restore() -> bool:
243
272
  """Ask for an explicit confirmation before writing the user's PATH."""
273
+ from ...ui.common import InteractiveMenu
274
+
244
275
  confirm_menu = InteractiveMenu(title="Confirm Restoration", border_style="yellow")
245
276
  return confirm_menu.confirm_action("Proceed with restoration?", default_yes=True)
246
277
 
@@ -253,6 +284,12 @@ def _restore_named_backup(manager: SystemPathInterface, name: str) -> None:
253
284
  the readability check runs first so an unusable name stops before the
254
285
  confirmation prompt.
255
286
  """
287
+ from ...ui.common import ezprinter
288
+ from ...ui.system import (
289
+ render_path_backup_content_result,
290
+ render_path_operation_result,
291
+ )
292
+
256
293
  content = manager.read_backup(name)
257
294
  if not content.success:
258
295
  render_path_backup_content_result(content)
@@ -273,6 +310,12 @@ def _restore_named_backup(manager: SystemPathInterface, name: str) -> None:
273
310
 
274
311
  def _run_path_restore(manager: SystemPathInterface) -> None:
275
312
  """Interactively select a PATH backup and restore it."""
313
+ from ...ui.common import InteractiveMenu, ezprinter, format_backup_item
314
+ from ...ui.system import (
315
+ render_path_backup_list_result,
316
+ render_path_operation_result,
317
+ )
318
+
276
319
  list_result = manager.list_backups()
277
320
  if not list_result.success:
278
321
  render_path_backup_list_result(list_result)
@@ -23,9 +23,7 @@ from pathlib import Path
23
23
  # Third-party imports
24
24
  import click
25
25
 
26
- # Local imports
27
- from ...interfaces.project.create_interface import ProjectCreateInterface
28
- from ...ui.project import render_project_creation_result
26
+ # Heavy imports stay in the callbacks: `womm -h` must not load them.
29
27
 
30
28
  # ///////////////////////////////////////////////////////////////
31
29
  # HELPERS
@@ -63,7 +61,7 @@ def parse_data_options(values: tuple[str, ...]) -> dict[str, str]:
63
61
  # ///////////////////////////////////////////////////////////////
64
62
 
65
63
 
66
- @click.command("create")
64
+ @click.command("create", no_args_is_help=True)
67
65
  @click.help_option("-h", "--help")
68
66
  @click.argument("template")
69
67
  @click.argument("destination", type=click.Path(path_type=Path))
@@ -106,6 +104,9 @@ def create_command(
106
104
  verbose: bool,
107
105
  ) -> None:
108
106
  """Create a project from a catalog template."""
107
+ from ...interfaces.project.create_interface import ProjectCreateInterface
108
+ from ...ui.project import render_project_creation_result
109
+
109
110
  answers = parse_data_options(data)
110
111
  result = ProjectCreateInterface().create_project(
111
112
  template=template,
@@ -19,24 +19,14 @@ from __future__ import annotations
19
19
  # Standard library imports
20
20
  import sys
21
21
  from pathlib import Path
22
- from typing import Any, cast
22
+ from typing import TYPE_CHECKING, Any, cast
23
23
 
24
24
  # Third-party imports
25
25
  import click
26
- from ezplog import LogLevel
27
26
 
28
- # Local imports
29
- from ...interfaces import ProjectManagerInterface
30
- from ...services.project.setup_profile_resolver import (
31
- list_setup_identifiers,
32
- resolve_setup_profile,
33
- )
34
- from ...ui.common import ezpl, ezprinter
35
- from ...ui.project import (
36
- ProjectWizard,
37
- print_project_setup_result,
38
- print_setup_steps_hint,
39
- )
27
+ # Heavy imports stay in the callbacks: `womm -h` must not load them.
28
+ if TYPE_CHECKING:
29
+ from ...interfaces import ProjectManagerInterface
40
30
 
41
31
  # ///////////////////////////////////////////////////////////////
42
32
  # COMMAND GROUPS
@@ -56,6 +46,10 @@ def setup_group(ctx: click.Context, verbose: bool) -> None:
56
46
  """🔧 Configure existing projects with development tools."""
57
47
  # Configure verbose mode if requested
58
48
  if verbose:
49
+ from ezplog import LogLevel
50
+
51
+ from ...ui.common import ezpl
52
+
59
53
  ezpl.set_level(LogLevel.DEBUG.label)
60
54
 
61
55
  if ctx.invoked_subcommand is None:
@@ -98,6 +92,12 @@ def setup_detect(
98
92
 
99
93
  Use -I to run the guided setup on the detected type.
100
94
  """
95
+ from ezplog import LogLevel
96
+
97
+ from ...interfaces import ProjectManagerInterface
98
+ from ...services.project.setup_profile_resolver import list_setup_identifiers
99
+ from ...ui.common import ezpl, ezprinter
100
+
101
101
  # Configure verbose mode if requested
102
102
  if verbose:
103
103
  ezpl.set_level(LogLevel.DEBUG.label)
@@ -214,6 +214,11 @@ def setup_python(
214
214
  Every step is opt-in: pass the flags of the steps to run. Without any,
215
215
  the project is only checked and nothing is written.
216
216
  """
217
+ from ezplog import LogLevel
218
+
219
+ from ...interfaces import ProjectManagerInterface
220
+ from ...ui.common import ezpl, ezprinter
221
+
217
222
  # Configure verbose mode if requested
218
223
  if verbose:
219
224
  ezpl.set_level(LogLevel.DEBUG.label)
@@ -309,6 +314,11 @@ def setup_javascript(
309
314
  Every step is opt-in: pass the flags of the steps to run. Without any,
310
315
  the project is only checked and nothing is written.
311
316
  """
317
+ from ezplog import LogLevel
318
+
319
+ from ...interfaces import ProjectManagerInterface
320
+ from ...ui.common import ezpl, ezprinter
321
+
312
322
  # Configure verbose mode if requested
313
323
  if verbose:
314
324
  ezpl.set_level(LogLevel.DEBUG.label)
@@ -373,6 +383,9 @@ def _run_interactive_setup(
373
383
  project_manager: ProjectManagerInterface, project_type: str, project_path: Path
374
384
  ) -> bool:
375
385
  """Run interactive project setup."""
386
+ from ...ui.common import ezprinter
387
+ from ...ui.project import ProjectWizard
388
+
376
389
  # Get setup configuration
377
390
  config = ProjectWizard.run_interactive_setup_for_existing_project(
378
391
  project_type, project_path
@@ -412,6 +425,9 @@ def _setup_and_report(
412
425
  options: dict[str, Any],
413
426
  ) -> bool:
414
427
  """Run the requested setup steps, or point to their flags when none is."""
428
+ from ...services.project.setup_profile_resolver import resolve_setup_profile
429
+ from ...ui.common import ezprinter
430
+ from ...ui.project import print_project_setup_result, print_setup_steps_hint
415
431
 
416
432
  def _coerce_bool(value: object) -> bool:
417
433
  if isinstance(value, str):
@@ -24,14 +24,10 @@ from pathlib import Path
24
24
  import click
25
25
 
26
26
  # Local imports
27
- from ...interfaces.project.template_store_interface import TemplateStoreInterface
28
- from ...ui.project import (
29
- render_project_creation_result,
30
- render_template_list,
31
- render_template_result,
32
- )
33
27
  from .create import parse_data_options
34
28
 
29
+ # Heavy imports stay in the callbacks: `womm -h` must not load them.
30
+
35
31
  # ///////////////////////////////////////////////////////////////
36
32
  # COMMAND GROUP
37
33
  # ///////////////////////////////////////////////////////////////
@@ -56,63 +52,78 @@ def template_group(ctx: click.Context) -> None:
56
52
  @click.option("-v", "--verbose", is_flag=True, help="Show detailed output.")
57
53
  def template_list(verbose: bool) -> None:
58
54
  """List every known template."""
55
+ from ...interfaces.project.template_store_interface import TemplateStoreInterface
56
+ from ...ui.project import render_template_list
57
+
59
58
  result = TemplateStoreInterface().list_templates()
60
59
  render_template_list(result, verbose=verbose)
61
60
  if not result.success:
62
61
  raise SystemExit(1)
63
62
 
64
63
 
65
- @template_group.command("show")
64
+ @template_group.command("show", no_args_is_help=True)
66
65
  @click.help_option("-h", "--help")
67
66
  @click.argument("identifier")
68
67
  @click.option("-v", "--verbose", is_flag=True, help="Show detailed output.")
69
68
  def template_show(identifier: str, verbose: bool) -> None:
70
69
  """Show a single catalog entry."""
70
+ from ...interfaces.project.template_store_interface import TemplateStoreInterface
71
+ from ...ui.project import render_template_result
72
+
71
73
  result = TemplateStoreInterface().show_template(identifier)
72
74
  render_template_result(result, verbose=verbose)
73
75
  if not result.success:
74
76
  raise SystemExit(1)
75
77
 
76
78
 
77
- @template_group.command("add")
79
+ @template_group.command("add", no_args_is_help=True)
78
80
  @click.help_option("-h", "--help")
79
81
  @click.argument("identifier")
80
82
  @click.argument("source", type=click.Path(path_type=Path))
81
83
  @click.option("-v", "--verbose", is_flag=True, help="Show detailed output.")
82
84
  def template_add(identifier: str, source: Path, verbose: bool) -> None:
83
85
  """Register a local template under the user namespace."""
86
+ from ...interfaces.project.template_store_interface import TemplateStoreInterface
87
+ from ...ui.project import render_template_result
88
+
84
89
  result = TemplateStoreInterface().add_template(identifier, source)
85
90
  render_template_result(result, verbose=verbose)
86
91
  if not result.success:
87
92
  raise SystemExit(1)
88
93
 
89
94
 
90
- @template_group.command("remove")
95
+ @template_group.command("remove", no_args_is_help=True)
91
96
  @click.help_option("-h", "--help")
92
97
  @click.argument("identifier")
93
98
  @click.option("-v", "--verbose", is_flag=True, help="Show detailed output.")
94
99
  def template_remove(identifier: str, verbose: bool) -> None:
95
100
  """Unregister a user template."""
101
+ from ...interfaces.project.template_store_interface import TemplateStoreInterface
102
+ from ...ui.project import render_template_result
103
+
96
104
  result = TemplateStoreInterface().remove_template(identifier)
97
105
  render_template_result(result, verbose=verbose)
98
106
  if not result.success:
99
107
  raise SystemExit(1)
100
108
 
101
109
 
102
- @template_group.command("update")
110
+ @template_group.command("update", no_args_is_help=True)
103
111
  @click.help_option("-h", "--help")
104
112
  @click.argument("identifier")
105
113
  @click.argument("source", type=click.Path(path_type=Path))
106
114
  @click.option("-v", "--verbose", is_flag=True, help="Show detailed output.")
107
115
  def template_update(identifier: str, source: Path, verbose: bool) -> None:
108
116
  """Point an existing user template at a new source."""
117
+ from ...interfaces.project.template_store_interface import TemplateStoreInterface
118
+ from ...ui.project import render_template_result
119
+
109
120
  result = TemplateStoreInterface().update_template(identifier, source)
110
121
  render_template_result(result, verbose=verbose)
111
122
  if not result.success:
112
123
  raise SystemExit(1)
113
124
 
114
125
 
115
- @template_group.command("init")
126
+ @template_group.command("init", no_args_is_help=True)
116
127
  @click.help_option("-h", "--help")
117
128
  @click.argument("destination", type=click.Path(path_type=Path))
118
129
  @click.option(
@@ -141,6 +152,9 @@ def template_init(
141
152
  verbose: bool,
142
153
  ) -> None:
143
154
  """Scaffold a new Copier template skeleton."""
155
+ from ...interfaces.project.template_store_interface import TemplateStoreInterface
156
+ from ...ui.project import render_project_creation_result
157
+
144
158
  answers = parse_data_options(data)
145
159
  result = TemplateStoreInterface().init_template(
146
160
  destination,
@@ -16,12 +16,15 @@ from __future__ import annotations
16
16
  # ///////////////////////////////////////////////////////////////
17
17
  # IMPORTS
18
18
  # ///////////////////////////////////////////////////////////////
19
+ # Standard library imports
20
+ from typing import TYPE_CHECKING
21
+
19
22
  # Third-party imports
20
23
  import click
21
24
 
22
- # Local imports
23
- from ....interfaces import ContextMenuInterface
24
- from ....ui.common import ezprinter
25
+ # Heavy imports stay in the callbacks: `womm -h` must not load them.
26
+ if TYPE_CHECKING:
27
+ from ....interfaces import ContextMenuInterface
25
28
 
26
29
  # ///////////////////////////////////////////////////////////////
27
30
  # CONSTANTS
@@ -66,6 +69,8 @@ def _check_windows(manager: ContextMenuInterface) -> bool:
66
69
  Returns:
67
70
  True when running on Windows, False otherwise.
68
71
  """
72
+ from ....ui.common import ezprinter
73
+
69
74
  if manager.is_windows():
70
75
  return True
71
76
  ezprinter.info(_NON_WINDOWS_MESSAGE)