Skip to content

Commit 646da15

Browse files
committed
refactor(cli): restructure CLI architecture and remove legacy scripts
- Deleted the Makefile to streamline the build process and reduce complexity. - Introduced a new CLI structure with dedicated modules for database, development, Docker, documentation, and testing operations. - Consolidated command handling into a unified registry for better organization and extensibility. - Removed outdated scripts related to database analysis, health checks, and other operations that are now integrated into the new CLI structure. - Updated project metadata in pyproject.toml to reflect changes in authorship and licensing.
1 parent 6dc00fe commit 646da15

35 files changed

+2696
-3280
lines changed

.pre-commit-config.yaml

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -65,25 +65,26 @@ repos:
6565
additional_dependencies:
6666
- '@commitlint/cli'
6767
- '@commitlint/config-conventional'
68-
- repo: local
69-
hooks:
70-
- id: settings-doc-markdown
71-
name: Generate settings-doc Markdown
72-
description: This hook generates a Markdown documentation from pydantic.BaseSettings
73-
to a file.
74-
entry: make docs-config-markdown
75-
language: system
76-
types: [file, python]
77-
pass_filenames: false
78-
- id: settings-doc-dotenv
79-
name: Generate settings-doc env.example
80-
description: This hook generates an env.example template from pydantic.BaseSettings
81-
to a file.
82-
entry: uv run settings-doc generate --module tux.shared.config.settings --output-format
83-
dotenv --update env.example
84-
language: system
85-
types: [file, python]
86-
pass_filenames: false
68+
# - repo: local
69+
# hooks:
70+
# - id: settings-doc-markdown
71+
# name: Generate settings-doc Markdown
72+
# description: This hook generates a Markdown documentation from pydantic.BaseSettings
73+
# to a file.
74+
# yamllint disable-line rule:line-length
75+
# entry: uv run settings-doc generate --module tux.shared.config.settings --output-format markdown --update CONFIG.md --between "<!-- CONFIGURATION START -->" "<!-- CONFIGURATION END -->" --heading-offset 1
76+
# language: system
77+
# types: [file, python]
78+
# pass_filenames: false
79+
# - id: settings-doc-dotenv
80+
# name: Generate settings-doc env.example
81+
# description: This hook generates an env.example template from pydantic.BaseSettings
82+
# to a file.
83+
# entry: uv run settings-doc generate --module tux.shared.config.settings --output-format
84+
# dotenv --update env.example
85+
# language: system
86+
# types: [file, python]
87+
# pass_filenames: false
8788
# Temporarily disabled - causes conflicts with end-of-file-fixer
8889
# TODO: Re-enable once we resolve the newline handling issue
8990
# - id: settings-doc-env-example

0 commit comments

Comments
 (0)