Files
iris-context/commands/python/pipx.go
T
VERSE 2ef3c90819 feat(commands): more commands (#30)
- I wrote a scripts to copy and generate all commands missing in iris
from fig repo: https://github.com/withfig/autocomplete
- Add a new script to generate commands docs about which commands
currently are inside commands folder
377d4aac663590e504fe39a92eb4dac4cbd333b2
- Add more icons e64d4e70a1db61e62053460a882e093bd6373ab1
2026-07-04 22:08:36 +07:00

50 lines
3.0 KiB
Go

package python
import (
"github.com/versenilvis/iris/commands/core"
)
func init() {
core.Register(&core.Spec{
Name: "pipx",
Description: "Installed package",
Subcommands: []core.Subcommand{
{Name: "install", Description: "Install a package"},
{Name: "package_spec", Description: "Package name or pip installation spec"},
{Name: "inject", Description: "Installs packages to an existing pipx-managed virtual environment"},
{Name: "package", Description: "Name of the existing pipx-managed Virtual Environment to inject into"},
{Name: "uninstall-all", Description: "Uninstall all pipx-managed packages"},
{Name: "reinstall", Description: "Reinstalls a package"},
{Name: "reinstall-all", Description: "Reinstalls all packages"},
{Name: "list", Description: "List packages and apps installed with pipx"},
{Name: "app", Description: "App/package name and any arguments to be passed to it"},
{Name: "runpip", Description: "Run pip in an existing pipx-managed Virtual Environment"},
{Name: "pipargs", Description: "Arguments to forward to pip command"},
{Name: "ensurepath", Description: "Ensure directory where pipx stores apps is in your PATH environment variable"},
{Name: "environment", Description: "Print a list of variables used in pipx.constants"},
{Name: "completions", Description: "Print instructions on enabling shell completions for pipx"},
},
Options: []core.Option{
{Name: "--include-deps", Description: "Include apps of dependent packages"},
{Name: "--force", Description: "Modify existing virtual environment and files in PIPX_BIN_DIR"},
{Name: "--suffix", Description: "Optional suffix for virtual environment and executable names"},
{Name: "--python", Description: "Give the virtual environment access to the system site-packages dir"},
{Name: "--index-url", Description: "Base URL of Python Package Index"},
{Name: "--editable", Description: "Install a project in editable mode"},
{Name: "--pip-args", Description: "Arbitrary pip arguments to pass directly to pip install/upgrade commands"},
{Name: "--verbose", Description: "Show verbose output"},
{Name: "--include-apps", Description: "Add apps from the injected packages onto your PATH"},
{Name: "--system-site-packages", Description: "Give the virtual environment access to the system site-packages dir"},
{Name: "--include-injected", Description: "Also upgrade packages injected into the main app's environment"},
{Name: "--skip", Description: "Skip these packages"},
{Name: "--json", Description: "Output rich data in json format"},
{Name: "--short", Description: "List packages only"},
{Name: "--no-cache", Description: "Do not re-use cached virtual environment if it exists"},
{Name: "--pypackages", Description: "Require app to be run from local __pypackages__ directory"},
{Name: "--spec", Description: "The package name or specific installation source passed to pip"},
{Name: "--value", Description: "Print the value of the variable"},
{Name: "--help", Description: "Show help for pipx"},
},
})
}