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: Enhance CLI UI Feedback for Global Flag Operations #2952

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

ElayGelbart
Copy link
Contributor

Pull Request Checklist

  • A news fragment is added in news/ describing what is new.
  • Test cases added for changed code.

Describe what you have changed in this PR.

This Pull Request introduces improved UI feedback for command-line operations that utilize the global flag (-g). The enhancements cover several key commands, ensuring users receive clear, immediate visual confirmation when they are working with global packages.

Changes Made

The following commands have been updated to provide explicit UI indications whenever the -g (global) flag is used:

  • pdm add -g
  • pdm remove -g
  • pdm update -g
  • pdm use -g
  • pdm info -g

Purpose

These changes aim to improve the user experience by making it transparent when actions are applied to global packages. This enhancement helps prevent confusion and ensures users are fully aware of the scope of their operations.

Thank you for considering this Pull Request. I look forward to your feedback and any further suggestions.

@frostming frostming merged commit 38ccc68 into pdm-project:main Jun 19, 2024
21 of 22 checks passed
@frostming
Copy link
Collaborator

Thank you

frostming added a commit that referenced this pull request Jun 23, 2024
Signed-off-by: Frost Ming <me@frostming.com>
frostming added a commit that referenced this pull request Jun 23, 2024
…2965)

* doc: Clarify the purpose of pdm outdated and --unconstrained option

Signed-off-by: Frost Ming <me@frostming.com>

* add news

Signed-off-by: Frost Ming <me@frostming.com>

* add news for #2952

Signed-off-by: Frost Ming <me@frostming.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants