terp-cli 0.1.0__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.
- terp_cli-0.1.0/.gitignore +47 -0
- terp_cli-0.1.0/PKG-INFO +16 -0
- terp_cli-0.1.0/pyproject.toml +38 -0
- terp_cli-0.1.0/src/terp/cli/__init__.py +1633 -0
- terp_cli-0.1.0/src/terp/cli/_appref.py +43 -0
- terp_cli-0.1.0/src/terp/cli/access.py +482 -0
- terp_cli-0.1.0/src/terp/cli/apidocs.py +132 -0
- terp_cli-0.1.0/src/terp/cli/dev.py +145 -0
- terp_cli-0.1.0/src/terp/cli/docker.py +57 -0
- terp_cli-0.1.0/src/terp/cli/jobs.py +238 -0
- terp_cli-0.1.0/src/terp/cli/openapi.py +67 -0
- terp_cli-0.1.0/src/terp/cli/profiles.py +148 -0
- terp_cli-0.1.0/src/terp/cli/py.typed +0 -0
- terp_cli-0.1.0/src/terp/cli/scaffold.py +343 -0
- terp_cli-0.1.0/src/terp/cli/schema.py +317 -0
- terp_cli-0.1.0/src/terp/cli/seed.py +67 -0
- terp_cli-0.1.0/src/terp/cli/users.py +94 -0
- terp_cli-0.1.0/src/terp/cli/verify.py +469 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# Python
|
|
2
|
+
__pycache__/
|
|
3
|
+
*.py[cod]
|
|
4
|
+
*.egg-info/
|
|
5
|
+
.eggs/
|
|
6
|
+
build/
|
|
7
|
+
dist/
|
|
8
|
+
.venv/
|
|
9
|
+
.venv-*/
|
|
10
|
+
venv/
|
|
11
|
+
.pytest_cache/
|
|
12
|
+
.mypy_cache/
|
|
13
|
+
.ruff_cache/
|
|
14
|
+
.coverage
|
|
15
|
+
htmlcov/
|
|
16
|
+
|
|
17
|
+
# uv
|
|
18
|
+
uv.lock
|
|
19
|
+
|
|
20
|
+
# Node
|
|
21
|
+
node_modules/
|
|
22
|
+
.pnpm-store/
|
|
23
|
+
*.tsbuildinfo
|
|
24
|
+
|
|
25
|
+
# Playwright (conformance e2e) artifacts
|
|
26
|
+
test-results/
|
|
27
|
+
playwright-report/
|
|
28
|
+
blob-report/
|
|
29
|
+
playwright/.cache/
|
|
30
|
+
.last-run.json
|
|
31
|
+
|
|
32
|
+
# Local frontend template render checks
|
|
33
|
+
apps/example/_frontend_tpl_check/
|
|
34
|
+
|
|
35
|
+
# Editor / OS
|
|
36
|
+
.DS_Store
|
|
37
|
+
.idea/
|
|
38
|
+
*.local
|
|
39
|
+
|
|
40
|
+
# Local environment overrides — never commit (a real .env may hold SECRET_KEY).
|
|
41
|
+
# The tracked template is `.env.example`.
|
|
42
|
+
.env
|
|
43
|
+
.env.*
|
|
44
|
+
!.env.example
|
|
45
|
+
!.env.example.jinja
|
|
46
|
+
# Rendered app-declared variables (environment.schema.json) — may hold secrets.
|
|
47
|
+
.app.env
|
terp_cli-0.1.0/PKG-INFO
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: terp-cli
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Terp command-line tool — inspect, scaffolding, migrations, checks, api-docs.
|
|
5
|
+
License-Expression: Apache-2.0
|
|
6
|
+
Requires-Python: >=3.13
|
|
7
|
+
Requires-Dist: terp-arch==0.1.0
|
|
8
|
+
Requires-Dist: terp-core==0.1.0
|
|
9
|
+
Requires-Dist: terp-migrations==0.1.0
|
|
10
|
+
Provides-Extra: jobs
|
|
11
|
+
Requires-Dist: terp-cap-outbox==0.1.0; extra == 'jobs'
|
|
12
|
+
Requires-Dist: terp-cap-scheduler-apscheduler==0.1.0; extra == 'jobs'
|
|
13
|
+
Provides-Extra: scheduler
|
|
14
|
+
Requires-Dist: terp-cap-scheduler-apscheduler==0.1.0; extra == 'scheduler'
|
|
15
|
+
Provides-Extra: worker
|
|
16
|
+
Requires-Dist: terp-cap-outbox==0.1.0; extra == 'worker'
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "terp-cli"
|
|
7
|
+
version = "0.1.0"
|
|
8
|
+
description = "Terp command-line tool — inspect, scaffolding, migrations, checks, api-docs."
|
|
9
|
+
requires-python = ">=3.13"
|
|
10
|
+
license = "Apache-2.0"
|
|
11
|
+
dependencies = [
|
|
12
|
+
"terp-core==0.1.0",
|
|
13
|
+
# `terp migrate` delegates to terp-migrations (lazily imported), keeping Alembic
|
|
14
|
+
# off the path for `terp inspect` / `terp guide` while making migrations work.
|
|
15
|
+
"terp-migrations==0.1.0",
|
|
16
|
+
# `terp guide rules` projects the live rule registry; terp-arch is imported lazily
|
|
17
|
+
# (only when that topic is rendered), so it stays off the common `terp guide` path.
|
|
18
|
+
"terp-arch==0.1.0",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
# Job-process adapters stay optional: the base CLI must not install the table-owning outbox
|
|
22
|
+
# or a scheduler engine into apps that only use inspect/check/migrate. Deployments can select
|
|
23
|
+
# one process role, while `jobs` is the convenient complete jobs-process bundle.
|
|
24
|
+
[project.optional-dependencies]
|
|
25
|
+
worker = ["terp-cap-outbox==0.1.0"]
|
|
26
|
+
scheduler = ["terp-cap-scheduler-apscheduler==0.1.0"]
|
|
27
|
+
jobs = [
|
|
28
|
+
"terp-cap-outbox==0.1.0",
|
|
29
|
+
"terp-cap-scheduler-apscheduler==0.1.0",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[project.scripts]
|
|
33
|
+
terp = "terp.cli:main"
|
|
34
|
+
|
|
35
|
+
# PEP 420 namespace package: this distribution owns only `terp.cli`.
|
|
36
|
+
[tool.hatch.build.targets.wheel]
|
|
37
|
+
sources = ["src"]
|
|
38
|
+
only-include = ["src/terp/cli"]
|