mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-03 07:55:02 +00:00
Update cheatsheets
This commit is contained in:
33
tldr/uv-tree
Normal file
33
tldr/uv-tree
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# uv tree
|
||||
|
||||
> Display project dependencies in a tree format.
|
||||
> More information: <https://docs.astral.sh/uv/reference/cli/#uv-tree>.
|
||||
|
||||
- Show dependency tree for current environment:
|
||||
|
||||
`uv tree`
|
||||
|
||||
- Show dependency tree for all environments:
|
||||
|
||||
`uv tree --universal`
|
||||
|
||||
- Show dependency tree up to a certain depth:
|
||||
|
||||
`uv tree {{-d|--depth}} {{n}}`
|
||||
|
||||
- Show the latest available version for all outdated packages:
|
||||
|
||||
`uv tree --outdated`
|
||||
|
||||
- Exclude dependencies from the dev group:
|
||||
|
||||
`uv tree --no-dev`
|
||||
|
||||
- Show the inverted tree, so children are dependents instead of dependencies:
|
||||
|
||||
`uv tree --invert`
|
||||
Reference in New Issue
Block a user