Skip to content

feat: display help page in case of missing arguments for sub-commands #335

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions bases/polylith/cli/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,22 @@
create.app,
name="create",
help="Commands for creating a workspace, bases, components and projects.",
no_args_is_help=True,
)


app.add_typer(
build.app,
name="build",
help="For Package & Dependency Management tools without support for plugins or build hooks.",
no_args_is_help=True,
)

app.add_typer(
test.app,
name="test",
help="Commands for tests.",
no_args_is_help=True,
)


Expand Down
2 changes: 1 addition & 1 deletion projects/polylith_cli/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "polylith-cli"
version = "1.27.1"
version = "1.28.0"
description = "Python tooling support for the Polylith Architecture"
authors = ['David Vujic']
homepage = "https://davidvujic.github.io/python-polylith-docs/"
Expand Down