This repository was archived by the owner on Jun 2, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,22 +76,22 @@ jobs:
7676 Packages uploaded to ${{ inputs.repository }}
7777 \`\`\`
7878 pip install${INDEX} defectdojo-api-generated==${{ inputs.version }}
79- pip install${INDEX} defectdojo-api-generated- cli==${{ inputs.version }}
79+ pip install${INDEX} defectdojo-cli==${{ inputs.version }}
8080 \`\`\`
8181 EOF
8282 if [ "${{ inputs.repository }}" != "pypi" ]; then
8383 cat <<EOF >> ${GITHUB_STEP_SUMMARY}
8484 Run with \`uvx\`
8585 \`\`\`
8686 uvx --with 'defectdojo-api-generated @ https://test-files.pythonhosted.org/packages/source/d/defectdojo-api-generated/defectdojo_api_generated-${{ inputs.version }}.tar.gz' \\
87- 'defectdojo-api-generated- cli @ https://test-files.pythonhosted.org/packages/source/d/defectdojo-api-generated- cli/defectdojo_api_generated_cli -${{ inputs.version }}.tar.gz'
87+ 'defectdojo-cli @ https://test-files.pythonhosted.org/packages/source/d/defectdojo-cli/defectdojo_cli -${{ inputs.version }}.tar.gz'
8888 \`\`\`
8989 EOF
9090 else
9191 cat <<EOF >> ${GITHUB_STEP_SUMMARY}
9292 Run with \`uvx\`
9393 \`\`\`
94- uvx defectdojo-api-generated- cli==${{ inputs.version }}
94+ uvx defectdojo-cli==${{ inputs.version }}
9595 \`\`\`
9696 EOF
9797 fi
Original file line number Diff line number Diff line change @@ -16,14 +16,14 @@ Multiple changes done on top of default openapi-generator:
1616* Remove most of pydantic/schema validations due to inconsistencies with actual database schema/requirements (tracked in https://github.com/fopina/defectdojo-api-generated/issues/39 )
1717* * Iterator* methods for every * list* API method to handle pagination automatically
1818* A nice CLI exposing all the API methods <3
19- * published as a separate package, to keep library-only installs free of console-script conflicts
19+ * published as ` defectdojo-cli ` , a separate package to keep library-only installs free of console-script conflicts
2020
2121## Example
2222
2323### Library
2424
2525```
26- pip install defectojo -api-generated
26+ pip install defectdojo -api-generated
2727```
2828
2929<!-- example-id: example.py -->
@@ -49,7 +49,7 @@ pip install defectojo-api-generated
4949> [ uv] ( https://docs.astral.sh/uv/ ) recommended or [ pipx] ( https://github.com/pypa/pipx )
5050
5151```
52- uv tool install defectdojo-api-generated- cli
52+ uv tool install defectdojo-cli
5353```
5454
5555```
@@ -69,7 +69,7 @@ Commands:
6969You can also skip tool install and just run it with:
7070
7171```
72- $ uvx defectdojo-api-generated- cli
72+ $ uvx defectdojo-cli
7373Usage: dojo [OPTIONS] COMMAND [ARGS]...
7474...
7575```
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ This page provides documentation for the command line tool `dojo`.
77> [ uv] ( https://docs.astral.sh/uv/ ) recommended or [ pipx] ( https://github.com/pypa/pipx )
88
99```
10- uv tool install 'defectojo-api-generated[ cli]'
10+ uv tool install defectdojo- cli
1111```
1212
1313::: mkdocs-click
Original file line number Diff line number Diff line change 1- # defectdojo-api-generated- cli
1+ # defectdojo-cli
22
3- Thin CLI wrapper distribution for [ ` defectdojo-api-generated ` ] ( https://pypi.org/project/defectdojo-api-generated/ ) .
3+ CLI for [ DefectDojo] ( https://github.com/DefectDojo/django-DefectDojo ) using
4+ [ ` defectdojo-api-generated ` ] ( https://pypi.org/project/defectdojo-api-generated/ ) .
45
56This package owns the ` dojo ` console entrypoint and pulls in the optional CLI dependencies.
7+
8+ Documentation is available at
9+ < https://defectdojo-api-generated.readthedocs.io/en/latest/cli/ > .
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ requires = ["setuptools>=69.5.0,<80.0.0"]
33build-backend = " setuptools.build_meta"
44
55[project ]
6- name = " defectdojo-api-generated- cli"
6+ name = " defectdojo-cli"
77version = " 1.0.0"
88description = " CLI wrapper for defectdojo-api-generated"
99readme = " README.md"
@@ -16,7 +16,7 @@ dependencies = [
1616
1717[project .scripts ]
1818dojo = " defectdojo_api_generated.cli.__main__:main"
19- defectdojo-api-generated- cli = " defectdojo_api_generated.cli.__main__:main"
19+ defectdojo-cli = " defectdojo_api_generated.cli.__main__:main"
2020
2121[project .urls ]
2222Homepage = " https://github.com/fopina/defectdojo-api-generated"
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def test_cli_distribution_points_console_scripts_to_library_entrypoint(self):
2424 pyproject ['project' ]['scripts' ],
2525 {
2626 'dojo' : 'defectdojo_api_generated.cli.__main__:main' ,
27- 'defectdojo-api-generated- cli' : 'defectdojo_api_generated.cli.__main__:main' ,
27+ 'defectdojo-cli' : 'defectdojo_api_generated.cli.__main__:main' ,
2828 },
2929 )
3030
You can’t perform that action at this time.
0 commit comments