Skip to content
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

feat: improve message for ape pm list when no packages installed #2290

Merged
5 changes: 4 additions & 1 deletion src/ape_pm/_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ def _list(cli_ctx, list_all):
packages.append(item)

if not packages:
click.echo("No packages installed.")
if list_all:
click.echo("No packages installed.")
else:
click.echo("No packages installed. Use `--all` to list all installed dependencies.")
return

# Output gathered packages.
Expand Down
Loading