Skip to content

pipx run --with=extra_dependency my_tool #1607

@cclauss

Description

@cclauss

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions