feat: Pixi extensions
Overview
This issue proposes implementing an extension mechanism for Pixi, allowing the core functionality to be extended with some custom (external) commands.
The primary goal is to enable pixi to discover and execute external subcommands that follow a specific naming convention (pixi-$PATH.
Our main motivation is to allow the community to build and share new functionalities (e.g., pixi-deploy ) without modifying the core pixi codebase.
We plan to adopt the cargo model for handling external commands, to keep current and future developers familiar with the already present standard.
When a user runs pixi
If it is not a recognized internal command, pixi will then search the system's $PATH for an executable named pixi-<subcommand>.
It also should assist you by telling you what similar commands exist: running pixi deployy should tell you that pixi deploy exists.
If such an executable is found, pixi will execute it, passing along any subsequent arguments.
If no internal command or external extension is found, it will return a "command not found" error as usual.
Note that Cargo is also helpful for external commands:
assigned to @mrswastik-robot