Skip to content

feat: Add pixi --list to view all the commands (pixi-extensions + built-in commands)#4307

Merged
nichmor merged 14 commits intoprefix-dev:mainfrom
mrswastik-robot:list-pixi-extensions
Aug 15, 2025
Merged

feat: Add pixi --list to view all the commands (pixi-extensions + built-in commands)#4307
nichmor merged 14 commits intoprefix-dev:mainfrom
mrswastik-robot:list-pixi-extensions

Conversation

@mrswastik-robot
Copy link
Copy Markdown
Contributor

@mrswastik-robot mrswastik-robot commented Aug 11, 2025

tries to close #3958

for more context - mrswastik-robot#2 , #4029

Earlier, the plan was to have an Available Extensions section to list the external commands, when the user runs - pixi, pixi --help, pixi -h and pixi help like this:

image

But later, due to some conflicts with Clap's built-in help behaviour, as discussed with @Hofer-Julian, we switched to the approach of pixi --list just like how Cargo handles it.

image

stdout_excludes="$(pixi workspace name get)"
) No newline at end of file
stdout_excludes="$(pixi workspace name get)",
)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you actually adapt the file?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no changes were required in the file for this PR

Copy link
Copy Markdown
Contributor

@Hofer-Julian Hofer-Julian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make sure that it prints something similar as cargo when running pixi --help:

image

@mrswastik-robot mrswastik-robot changed the title feat: Add Available Extensions section under pixi or pixi --help feat: Add pixi --list to view all the commands (pixi-extensions + built-in commands) Aug 14, 2025
Copy link
Copy Markdown
Contributor

@nichmor nichmor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested and works as expected!

@nichmor nichmor enabled auto-merge (squash) August 14, 2025 16:20
@nichmor nichmor merged commit ae71c38 into prefix-dev:main Aug 15, 2025
76 of 77 checks passed
tdejager pushed a commit to tdejager/pixi that referenced this pull request Aug 15, 2025
…uilt-in commands) (prefix-dev#4307)

Co-authored-by: nichmor <nmorkotilo@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:extensions Related to pixi extensions cli Issue related to CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add pixi list extensions

4 participants