pipx icon indicating copy to clipboard operation
pipx copied to clipboard

pipx run --with=extra_dependency my_tool

Open cclauss opened this issue 8 months ago • 0 comments

How would this feature be useful?

Streamline three commands into a single intuitive command that is similar to the uvx syntax.

Describe the solution you'd like

Desired:

pipx run --with=tomli codespell
pipx run --with=dataclass_wizard pytest

Current:

pipx install codespell
pipx inject codespell tomli
codespell

pipx install pytest
pipx inject pytest dataclass_wizard
pytest

Describe alternatives you've considered

uvx run --with=tomli codespell  # But `pipx` is pre-installed in GitHub Actions
uvx run --with=dataclass_wizard pytest

cclauss avatar Feb 17 '25 17:02 cclauss