Skip to content

flag for app considered ambiguous option to pipx run #823

@C-nit

Description

@C-nit

Describe the bug
some flag arguments are not possible to provide to the app as they seem to be checked for use with run instead of the APP

How to reproduce

$ pipx --verbose run --spec kfp-tekton dsl-compile-tekton --py pipeline.py --output pipeline.yaml
usage: pipx run [-h] [--no-cache] [--pypackages] [--spec SPEC] [--verbose] [--python PYTHON] [--system-site-packages] [--index-url INDEX_URL]
                [--editable] [--pip-args PIP_ARGS]
                app ...
pipx run: error: ambiguous option: --py could match --pypackages, --python

Expected behavior
any and every flag to be passed to APP directly

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions