-
Notifications
You must be signed in to change notification settings - Fork 417
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
Provide ensurepath
with a check option or create an init
command
#1014
Comments
Or |
Currently it's impossible for pipx to show the content that will be added to the config, since that part of job is done by userpath. I think the only thing we can do here is to show what paths will be added to PATH. |
Okay, did some digging:
AFAIK, What does
Sorry for the compounded question / comment, and thanks for Your effort! |
I don’t feel the implementation is that difficult to understand. What part is cryptic to you? |
Thanks - I have read that file - and I think I get what it intends to do (correct me if I'm wrong):
Would it be then possible to add the option to check and log what PATHs need to be added? Also, is it possible (if These would make it possible to investigate what the tools does. |
PR welcome. |
@gaborbernat I see that the project uses I figured out Could You help out how could I run tests or how to set up the env for contributing? |
Hi @mrmeszaros, please refer to our contributing docs |
How would this feature be useful?
Currently,
pipx ensurepath
does not tell me what changes will it make.I would like to stay in control: see what changes it would make, and then decide if it's okay with me.
Describe the solution you'd like
--check
or--dry-run
option that checks for necessary changes and outputs them.Describe alternatives you've considered
init
command that outputs the shell config changes - similarly to howpyenv
does it:Here is how pyenv does it:
The text was updated successfully, but these errors were encountered: