uv
9b870f20 - Allow specification of additional requirements in `uv tool run` (#3678)

Comment changes are shownComment changes are hidden
Commit
1 year ago
Allow specification of additional requirements in `uv tool run` (#3678) Allows requesting additional transitive dependencies when running a tool. e.g. `uv tool run -v --with anyio ruff check example.py` (Why would you want anyio with ruff? Who knows 😄) The motivation for doing this now is that I think the first implementation of `uv tool install` might just shim into `uv tool run` with pinned dependencies? Regardless this is something we need in the long run and is a trivial addition right now.
Author
Parents
  • crates/uv/src
    • File
      cli.rs
    • commands/tool
      • File
        run.rs
    • File
      main.rs