cli-usereq 0.74.0__tar.gz → 0.75.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.
- {cli_usereq-0.74.0/src/cli_usereq.egg-info → cli_usereq-0.75.1}/PKG-INFO +12 -8
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/README.md +11 -7
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/pyproject.toml +1 -1
- {cli_usereq-0.74.0 → cli_usereq-0.75.1/src/cli_usereq.egg-info}/PKG-INFO +12 -8
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/__init__.py +1 -1
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/cli.py +174 -86
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_cli.py +170 -27
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_update_check.py +123 -1
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/LICENSE +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/setup.cfg +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/cli_usereq.egg-info/SOURCES.txt +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/cli_usereq.egg-info/dependency_links.txt +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/cli_usereq.egg-info/entry_points.txt +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/cli_usereq.egg-info/requires.txt +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/cli_usereq.egg-info/top_level.txt +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/__main__.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/compress.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/compress_files.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/doxygen_parser.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/find_constructs.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/generate_markdown.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/guidelines/Google_C++_Style_Guide.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/guidelines/Google_Python_Style_Guide.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/guidelines/Google_TypeScript_Style_Guide.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/guidelines/RFC2119.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/analyze.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/change.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/check.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/cover.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/create.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/fix.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/flowchart.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/implement.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/new.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/orchestrate.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/readme.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/recreate.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/refactor.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/references.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/renumber.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/workflow.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts/write.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/prompts-version.txt +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/templates/Agentic_Text_Authoring_Guidance.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/templates/Document_Source_Code_in_Doxygen_Style.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/templates/HDT_Test_Authoring_Guide.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/resources/templates/Requirements_Template.md +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/source_analyzer.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/static_check.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/src/usereq/token_counter.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_analyzer_cli.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_analyzer_comments.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_analyzer_core.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_analyzer_errors.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_analyzer_format.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_analyzer_helpers.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_compress.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_dependency_manifests.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_doxygen_parser.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_files_commands.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_find_constructs.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_find_constructs_comprehensive.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_generate_markdown.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_helpers.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_import_isolation.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_pre_release_check.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_release_workflow.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_source_analyzer.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_static_check.py +0 -0
- {cli_usereq-0.74.0 → cli_usereq-0.75.1}/tests/test_token_counter.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cli-usereq
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.75.1
|
|
4
4
|
Summary: Initialize a project with prompts, agents, and templates from the useReq repository.
|
|
5
5
|
Author: Ogekuri
|
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
|
@@ -709,7 +709,7 @@ Dynamic: license-file
|
|
|
709
709
|
> * **No Support or Feature Requests:** Please **do not** open issues, bug reports, or feature requests. They will not be addressed or accepted at this stage of development.
|
|
710
710
|
> * **No Warranty:** This software is provided **"AS IS"**, without warranty of any kind, express or implied. You may use it strictly for **testing and evaluation purposes** at your own sole risk.
|
|
711
711
|
|
|
712
|
-
# useReq / req (0.
|
|
712
|
+
# useReq / req (0.75.1)
|
|
713
713
|
|
|
714
714
|
<p align="center">
|
|
715
715
|
<img src="https://img.shields.io/badge/python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python 3.11+">
|
|
@@ -762,7 +762,7 @@ Get running in three steps: install the tool, configure one provider, and instal
|
|
|
762
762
|
uv tool install cli-usereq
|
|
763
763
|
|
|
764
764
|
# or persistent install tracking the git repository
|
|
765
|
-
uv tool install cli-usereq --force --from git+https://github.com/Ogekuri/CLI-useReq.git
|
|
765
|
+
uv tool install cli-usereq --force --refresh --from git+https://github.com/Ogekuri/CLI-useReq.git
|
|
766
766
|
|
|
767
767
|
# or run instantly without installing (PyPI release)
|
|
768
768
|
uvx --from cli-usereq req --help
|
|
@@ -813,9 +813,12 @@ This exposes the CLI as `req` (also callable as `usereq` or `python -m usereq`).
|
|
|
813
813
|
|
|
814
814
|
```bash
|
|
815
815
|
req --upgrade
|
|
816
|
+
|
|
817
|
+
# force full package download and complete reinstallation
|
|
818
|
+
req --upgrade --force
|
|
816
819
|
```
|
|
817
820
|
|
|
818
|
-
On Linux this executes `uv tool install cli-usereq
|
|
821
|
+
On Linux this executes the standard `uv tool install cli-usereq` command from the PyPI index without any forcing option; on other platforms the manual command is printed and `uv` is not executed. Adding `--force` forces full package download and complete reinstallation: `req --upgrade --force` executes `uv tool install cli-usereq --force --reinstall --refresh`. Use `req --upgrade --develop` (or the equivalent `req --upgrade --dev`) to install the latest tagged GitHub release instead of PyPI. When the upgrade succeeds and `auto-install` is enabled (the default), the persisted providers are automatically re-provisioned — equivalent to running `install`. Provide `--prj-base` in the same invocation to enable this; without it, a warning is printed and the provider update is skipped. Disable the behavior persistently with `--disable-auto-install` and re-enable it with `--enable-auto-install`.
|
|
819
822
|
|
|
820
823
|
### Install from GitHub (alternative channel)
|
|
821
824
|
|
|
@@ -823,7 +826,7 @@ Intermediate and test releases are published on GitHub at [`Ogekuri/CLI-useReq`]
|
|
|
823
826
|
|
|
824
827
|
```bash
|
|
825
828
|
# persistent install tracking the git repository
|
|
826
|
-
uv tool install cli-usereq --force --from git+https://github.com/Ogekuri/CLI-useReq.git
|
|
829
|
+
uv tool install cli-usereq --force --refresh --from git+https://github.com/Ogekuri/CLI-useReq.git
|
|
827
830
|
|
|
828
831
|
# or run instantly without installing
|
|
829
832
|
uvx --from git+https://github.com/Ogekuri/CLI-useReq.git req --help
|
|
@@ -832,7 +835,7 @@ uvx --from git+https://github.com/Ogekuri/CLI-useReq.git req --help
|
|
|
832
835
|
req --upgrade --develop
|
|
833
836
|
```
|
|
834
837
|
|
|
835
|
-
On Linux `req --upgrade --develop` (or `req --upgrade --dev`) executes `uv tool install cli-usereq --
|
|
838
|
+
On Linux `req --upgrade --develop` (or `req --upgrade --dev`) executes the standard `uv tool install cli-usereq --from git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>` command, where `<TAG>` is the latest tagged release resolved through the GitHub releases API regardless of the branch holding it; on other platforms the manual command is printed and `uv` is not executed. Adding `--force` (`req --upgrade --develop --force`) executes `uv tool install cli-usereq --force --reinstall --refresh --from git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>` instead.
|
|
836
839
|
|
|
837
840
|
### Tool removal
|
|
838
841
|
|
|
@@ -856,7 +859,7 @@ Canonical keys: `docs-dir`, `tests-dir`, `src-dir`, `providers`, `static-check`,
|
|
|
856
859
|
|
|
857
860
|
### Project directories
|
|
858
861
|
|
|
859
|
-
- `--set-docs-dir DOCS_DIR`, `--set-src-dir SRC_DIR` (repeatable), and `--set-tests-dir TESTS_DIR` persist project-relative directory values (each requires `--prj-base`; values must resolve under it).
|
|
862
|
+
- `--set-docs-dir DOCS_DIR`, `--set-src-dir SRC_DIR` (repeatable), and `--set-tests-dir TESTS_DIR` persist project-relative directory values (each requires `--prj-base`; values must resolve under it). Install-time prompt substitution renders `%%DOC_PATH%%`/`%%SRC_PATHS%%`/`%%TEST_PATH%%` from these values, defaulting to `usereq/docs`, `src`, and `tests` when unset.
|
|
860
863
|
- Defaults when the configuration stores no value: `usereq` (docs), `src` (sources), `tests` (tests).
|
|
861
864
|
- On fresh installation, missing configured directories (including parents) are created automatically under `--prj-base`.
|
|
862
865
|
|
|
@@ -992,6 +995,7 @@ Notes:
|
|
|
992
995
|
- `--verbose` / `--debug` — detailed and diagnostic output.
|
|
993
996
|
- `--ver` / `--version` — print the installed package version, query PyPI and GitHub, and print `PyPI latest: <version>` and `GitHub latest: <version>` lines (`unknown` when a repository cannot be reached).
|
|
994
997
|
- `--develop` / `--dev` — with `--upgrade`: install the latest tagged GitHub release from `git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>`, with `<TAG>` resolved through the GitHub releases API regardless of branch, instead of PyPI; `--dev` is an equivalent alias of `--develop`.
|
|
998
|
+
- `--force` — with `--upgrade`: force full package download and complete reinstallation (`uv tool install ... --force --reinstall --refresh`); without `--force` the standard install/update process runs without any forcing option.
|
|
995
999
|
- `-h` / `--help` — print command help and exit.
|
|
996
1000
|
|
|
997
1001
|
A startup release check queries the latest PyPI release (idle-gated to at most once per hour; once per day on API failures) and prints a bright-green stderr notice when a newer version is available.
|
|
@@ -1062,7 +1066,7 @@ Click to zoom flowchart image.
|
|
|
1062
1066
|
|
|
1063
1067
|
## Guidelines
|
|
1064
1068
|
|
|
1065
|
-
`GUIDELINES_DIR` is fixed to
|
|
1069
|
+
`GUIDELINES_DIR` is fixed to the packaged `resources/guidelines` directory of the running installation and is not configurable. Generated prompts and skills reference the packaged resources of the active installation through home-relative paths, including `%%TEMPLATE_PATH%%` for templates; guideline files themselves are never copied, created, or modified in project or user directories. Re-run `req install` after an upgrade so rendered paths follow the active installation.
|
|
1066
1070
|
|
|
1067
1071
|
## Repository Documentation
|
|
1068
1072
|
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
> * **No Support or Feature Requests:** Please **do not** open issues, bug reports, or feature requests. They will not be addressed or accepted at this stage of development.
|
|
11
11
|
> * **No Warranty:** This software is provided **"AS IS"**, without warranty of any kind, express or implied. You may use it strictly for **testing and evaluation purposes** at your own sole risk.
|
|
12
12
|
|
|
13
|
-
# useReq / req (0.
|
|
13
|
+
# useReq / req (0.75.1)
|
|
14
14
|
|
|
15
15
|
<p align="center">
|
|
16
16
|
<img src="https://img.shields.io/badge/python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python 3.11+">
|
|
@@ -63,7 +63,7 @@ Get running in three steps: install the tool, configure one provider, and instal
|
|
|
63
63
|
uv tool install cli-usereq
|
|
64
64
|
|
|
65
65
|
# or persistent install tracking the git repository
|
|
66
|
-
uv tool install cli-usereq --force --from git+https://github.com/Ogekuri/CLI-useReq.git
|
|
66
|
+
uv tool install cli-usereq --force --refresh --from git+https://github.com/Ogekuri/CLI-useReq.git
|
|
67
67
|
|
|
68
68
|
# or run instantly without installing (PyPI release)
|
|
69
69
|
uvx --from cli-usereq req --help
|
|
@@ -114,9 +114,12 @@ This exposes the CLI as `req` (also callable as `usereq` or `python -m usereq`).
|
|
|
114
114
|
|
|
115
115
|
```bash
|
|
116
116
|
req --upgrade
|
|
117
|
+
|
|
118
|
+
# force full package download and complete reinstallation
|
|
119
|
+
req --upgrade --force
|
|
117
120
|
```
|
|
118
121
|
|
|
119
|
-
On Linux this executes `uv tool install cli-usereq
|
|
122
|
+
On Linux this executes the standard `uv tool install cli-usereq` command from the PyPI index without any forcing option; on other platforms the manual command is printed and `uv` is not executed. Adding `--force` forces full package download and complete reinstallation: `req --upgrade --force` executes `uv tool install cli-usereq --force --reinstall --refresh`. Use `req --upgrade --develop` (or the equivalent `req --upgrade --dev`) to install the latest tagged GitHub release instead of PyPI. When the upgrade succeeds and `auto-install` is enabled (the default), the persisted providers are automatically re-provisioned — equivalent to running `install`. Provide `--prj-base` in the same invocation to enable this; without it, a warning is printed and the provider update is skipped. Disable the behavior persistently with `--disable-auto-install` and re-enable it with `--enable-auto-install`.
|
|
120
123
|
|
|
121
124
|
### Install from GitHub (alternative channel)
|
|
122
125
|
|
|
@@ -124,7 +127,7 @@ Intermediate and test releases are published on GitHub at [`Ogekuri/CLI-useReq`]
|
|
|
124
127
|
|
|
125
128
|
```bash
|
|
126
129
|
# persistent install tracking the git repository
|
|
127
|
-
uv tool install cli-usereq --force --from git+https://github.com/Ogekuri/CLI-useReq.git
|
|
130
|
+
uv tool install cli-usereq --force --refresh --from git+https://github.com/Ogekuri/CLI-useReq.git
|
|
128
131
|
|
|
129
132
|
# or run instantly without installing
|
|
130
133
|
uvx --from git+https://github.com/Ogekuri/CLI-useReq.git req --help
|
|
@@ -133,7 +136,7 @@ uvx --from git+https://github.com/Ogekuri/CLI-useReq.git req --help
|
|
|
133
136
|
req --upgrade --develop
|
|
134
137
|
```
|
|
135
138
|
|
|
136
|
-
On Linux `req --upgrade --develop` (or `req --upgrade --dev`) executes `uv tool install cli-usereq --
|
|
139
|
+
On Linux `req --upgrade --develop` (or `req --upgrade --dev`) executes the standard `uv tool install cli-usereq --from git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>` command, where `<TAG>` is the latest tagged release resolved through the GitHub releases API regardless of the branch holding it; on other platforms the manual command is printed and `uv` is not executed. Adding `--force` (`req --upgrade --develop --force`) executes `uv tool install cli-usereq --force --reinstall --refresh --from git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>` instead.
|
|
137
140
|
|
|
138
141
|
### Tool removal
|
|
139
142
|
|
|
@@ -157,7 +160,7 @@ Canonical keys: `docs-dir`, `tests-dir`, `src-dir`, `providers`, `static-check`,
|
|
|
157
160
|
|
|
158
161
|
### Project directories
|
|
159
162
|
|
|
160
|
-
- `--set-docs-dir DOCS_DIR`, `--set-src-dir SRC_DIR` (repeatable), and `--set-tests-dir TESTS_DIR` persist project-relative directory values (each requires `--prj-base`; values must resolve under it).
|
|
163
|
+
- `--set-docs-dir DOCS_DIR`, `--set-src-dir SRC_DIR` (repeatable), and `--set-tests-dir TESTS_DIR` persist project-relative directory values (each requires `--prj-base`; values must resolve under it). Install-time prompt substitution renders `%%DOC_PATH%%`/`%%SRC_PATHS%%`/`%%TEST_PATH%%` from these values, defaulting to `usereq/docs`, `src`, and `tests` when unset.
|
|
161
164
|
- Defaults when the configuration stores no value: `usereq` (docs), `src` (sources), `tests` (tests).
|
|
162
165
|
- On fresh installation, missing configured directories (including parents) are created automatically under `--prj-base`.
|
|
163
166
|
|
|
@@ -293,6 +296,7 @@ Notes:
|
|
|
293
296
|
- `--verbose` / `--debug` — detailed and diagnostic output.
|
|
294
297
|
- `--ver` / `--version` — print the installed package version, query PyPI and GitHub, and print `PyPI latest: <version>` and `GitHub latest: <version>` lines (`unknown` when a repository cannot be reached).
|
|
295
298
|
- `--develop` / `--dev` — with `--upgrade`: install the latest tagged GitHub release from `git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>`, with `<TAG>` resolved through the GitHub releases API regardless of branch, instead of PyPI; `--dev` is an equivalent alias of `--develop`.
|
|
299
|
+
- `--force` — with `--upgrade`: force full package download and complete reinstallation (`uv tool install ... --force --reinstall --refresh`); without `--force` the standard install/update process runs without any forcing option.
|
|
296
300
|
- `-h` / `--help` — print command help and exit.
|
|
297
301
|
|
|
298
302
|
A startup release check queries the latest PyPI release (idle-gated to at most once per hour; once per day on API failures) and prints a bright-green stderr notice when a newer version is available.
|
|
@@ -363,7 +367,7 @@ Click to zoom flowchart image.
|
|
|
363
367
|
|
|
364
368
|
## Guidelines
|
|
365
369
|
|
|
366
|
-
`GUIDELINES_DIR` is fixed to
|
|
370
|
+
`GUIDELINES_DIR` is fixed to the packaged `resources/guidelines` directory of the running installation and is not configurable. Generated prompts and skills reference the packaged resources of the active installation through home-relative paths, including `%%TEMPLATE_PATH%%` for templates; guideline files themselves are never copied, created, or modified in project or user directories. Re-run `req install` after an upgrade so rendered paths follow the active installation.
|
|
367
371
|
|
|
368
372
|
## Repository Documentation
|
|
369
373
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "cli-usereq"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.75.1"
|
|
8
8
|
description = "Initialize a project with prompts, agents, and templates from the useReq repository."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.11"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cli-usereq
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.75.1
|
|
4
4
|
Summary: Initialize a project with prompts, agents, and templates from the useReq repository.
|
|
5
5
|
Author: Ogekuri
|
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
|
@@ -709,7 +709,7 @@ Dynamic: license-file
|
|
|
709
709
|
> * **No Support or Feature Requests:** Please **do not** open issues, bug reports, or feature requests. They will not be addressed or accepted at this stage of development.
|
|
710
710
|
> * **No Warranty:** This software is provided **"AS IS"**, without warranty of any kind, express or implied. You may use it strictly for **testing and evaluation purposes** at your own sole risk.
|
|
711
711
|
|
|
712
|
-
# useReq / req (0.
|
|
712
|
+
# useReq / req (0.75.1)
|
|
713
713
|
|
|
714
714
|
<p align="center">
|
|
715
715
|
<img src="https://img.shields.io/badge/python-3.11%2B-3776AB?style=flat-square&logo=python&logoColor=white" alt="Python 3.11+">
|
|
@@ -762,7 +762,7 @@ Get running in three steps: install the tool, configure one provider, and instal
|
|
|
762
762
|
uv tool install cli-usereq
|
|
763
763
|
|
|
764
764
|
# or persistent install tracking the git repository
|
|
765
|
-
uv tool install cli-usereq --force --from git+https://github.com/Ogekuri/CLI-useReq.git
|
|
765
|
+
uv tool install cli-usereq --force --refresh --from git+https://github.com/Ogekuri/CLI-useReq.git
|
|
766
766
|
|
|
767
767
|
# or run instantly without installing (PyPI release)
|
|
768
768
|
uvx --from cli-usereq req --help
|
|
@@ -813,9 +813,12 @@ This exposes the CLI as `req` (also callable as `usereq` or `python -m usereq`).
|
|
|
813
813
|
|
|
814
814
|
```bash
|
|
815
815
|
req --upgrade
|
|
816
|
+
|
|
817
|
+
# force full package download and complete reinstallation
|
|
818
|
+
req --upgrade --force
|
|
816
819
|
```
|
|
817
820
|
|
|
818
|
-
On Linux this executes `uv tool install cli-usereq
|
|
821
|
+
On Linux this executes the standard `uv tool install cli-usereq` command from the PyPI index without any forcing option; on other platforms the manual command is printed and `uv` is not executed. Adding `--force` forces full package download and complete reinstallation: `req --upgrade --force` executes `uv tool install cli-usereq --force --reinstall --refresh`. Use `req --upgrade --develop` (or the equivalent `req --upgrade --dev`) to install the latest tagged GitHub release instead of PyPI. When the upgrade succeeds and `auto-install` is enabled (the default), the persisted providers are automatically re-provisioned — equivalent to running `install`. Provide `--prj-base` in the same invocation to enable this; without it, a warning is printed and the provider update is skipped. Disable the behavior persistently with `--disable-auto-install` and re-enable it with `--enable-auto-install`.
|
|
819
822
|
|
|
820
823
|
### Install from GitHub (alternative channel)
|
|
821
824
|
|
|
@@ -823,7 +826,7 @@ Intermediate and test releases are published on GitHub at [`Ogekuri/CLI-useReq`]
|
|
|
823
826
|
|
|
824
827
|
```bash
|
|
825
828
|
# persistent install tracking the git repository
|
|
826
|
-
uv tool install cli-usereq --force --from git+https://github.com/Ogekuri/CLI-useReq.git
|
|
829
|
+
uv tool install cli-usereq --force --refresh --from git+https://github.com/Ogekuri/CLI-useReq.git
|
|
827
830
|
|
|
828
831
|
# or run instantly without installing
|
|
829
832
|
uvx --from git+https://github.com/Ogekuri/CLI-useReq.git req --help
|
|
@@ -832,7 +835,7 @@ uvx --from git+https://github.com/Ogekuri/CLI-useReq.git req --help
|
|
|
832
835
|
req --upgrade --develop
|
|
833
836
|
```
|
|
834
837
|
|
|
835
|
-
On Linux `req --upgrade --develop` (or `req --upgrade --dev`) executes `uv tool install cli-usereq --
|
|
838
|
+
On Linux `req --upgrade --develop` (or `req --upgrade --dev`) executes the standard `uv tool install cli-usereq --from git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>` command, where `<TAG>` is the latest tagged release resolved through the GitHub releases API regardless of the branch holding it; on other platforms the manual command is printed and `uv` is not executed. Adding `--force` (`req --upgrade --develop --force`) executes `uv tool install cli-usereq --force --reinstall --refresh --from git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>` instead.
|
|
836
839
|
|
|
837
840
|
### Tool removal
|
|
838
841
|
|
|
@@ -856,7 +859,7 @@ Canonical keys: `docs-dir`, `tests-dir`, `src-dir`, `providers`, `static-check`,
|
|
|
856
859
|
|
|
857
860
|
### Project directories
|
|
858
861
|
|
|
859
|
-
- `--set-docs-dir DOCS_DIR`, `--set-src-dir SRC_DIR` (repeatable), and `--set-tests-dir TESTS_DIR` persist project-relative directory values (each requires `--prj-base`; values must resolve under it).
|
|
862
|
+
- `--set-docs-dir DOCS_DIR`, `--set-src-dir SRC_DIR` (repeatable), and `--set-tests-dir TESTS_DIR` persist project-relative directory values (each requires `--prj-base`; values must resolve under it). Install-time prompt substitution renders `%%DOC_PATH%%`/`%%SRC_PATHS%%`/`%%TEST_PATH%%` from these values, defaulting to `usereq/docs`, `src`, and `tests` when unset.
|
|
860
863
|
- Defaults when the configuration stores no value: `usereq` (docs), `src` (sources), `tests` (tests).
|
|
861
864
|
- On fresh installation, missing configured directories (including parents) are created automatically under `--prj-base`.
|
|
862
865
|
|
|
@@ -992,6 +995,7 @@ Notes:
|
|
|
992
995
|
- `--verbose` / `--debug` — detailed and diagnostic output.
|
|
993
996
|
- `--ver` / `--version` — print the installed package version, query PyPI and GitHub, and print `PyPI latest: <version>` and `GitHub latest: <version>` lines (`unknown` when a repository cannot be reached).
|
|
994
997
|
- `--develop` / `--dev` — with `--upgrade`: install the latest tagged GitHub release from `git+https://github.com/Ogekuri/CLI-useReq.git@<TAG>`, with `<TAG>` resolved through the GitHub releases API regardless of branch, instead of PyPI; `--dev` is an equivalent alias of `--develop`.
|
|
998
|
+
- `--force` — with `--upgrade`: force full package download and complete reinstallation (`uv tool install ... --force --reinstall --refresh`); without `--force` the standard install/update process runs without any forcing option.
|
|
995
999
|
- `-h` / `--help` — print command help and exit.
|
|
996
1000
|
|
|
997
1001
|
A startup release check queries the latest PyPI release (idle-gated to at most once per hour; once per day on API failures) and prints a bright-green stderr notice when a newer version is available.
|
|
@@ -1062,7 +1066,7 @@ Click to zoom flowchart image.
|
|
|
1062
1066
|
|
|
1063
1067
|
## Guidelines
|
|
1064
1068
|
|
|
1065
|
-
`GUIDELINES_DIR` is fixed to
|
|
1069
|
+
`GUIDELINES_DIR` is fixed to the packaged `resources/guidelines` directory of the running installation and is not configurable. Generated prompts and skills reference the packaged resources of the active installation through home-relative paths, including `%%TEMPLATE_PATH%%` for templates; guideline files themselves are never copied, created, or modified in project or user directories. Re-run `req install` after an upgrade so rendered paths follow the active installation.
|
|
1066
1070
|
|
|
1067
1071
|
## Repository Documentation
|
|
1068
1072
|
|
|
@@ -18,7 +18,7 @@ from . import source_analyzer # usereq.source_analyzer submodule
|
|
|
18
18
|
from . import token_counter # usereq.token_counter submodule
|
|
19
19
|
from typing import Any
|
|
20
20
|
|
|
21
|
-
__version__ = "0.
|
|
21
|
+
__version__ = "0.75.1"
|
|
22
22
|
"""! @brief Semantic version string of the package."""
|
|
23
23
|
|
|
24
24
|
|