Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

33
tldr/pipx Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# pipx
> Install and run Python applications in isolated environments.
> More information: <https://github.com/pypa/pipx>.
- Run an app in a temporary virtual environment:
`pipx run {{pycowsay}} {{moo}}`
- Install a package in a virtual environment and add entry points to path:
`pipx install {{package}}`
- List installed packages:
`pipx list`
- Run an app in a temporary virtual environment with a package name different from the executable:
`pipx run --spec {{httpx-cli}} {{httpx}} {{http://www.github.com}}`
- Inject dependencies into an existing virtual environment:
`pipx inject {{package}} {{dependency1 dependency2 ...}}`
- Install a package in a virtual environment with pip arguments:
`pipx install --pip-args='{{pip-args}}' {{package}}`