feat: Add plugin discovery and listing functionality#29
Open
yeoldegrove wants to merge 1 commit intonilla-nix:mainfrom
Open
feat: Add plugin discovery and listing functionality#29yeoldegrove wants to merge 1 commit intonilla-nix:mainfrom
yeoldegrove wants to merge 1 commit intonilla-nix:mainfrom
Conversation
- Add plugin discovery utility to search PATH for nilla-* executables - Add 'nilla plugins list' command to show available plugins with metadata - Integrate plugins into shell completions - Add plugin information to help output - Support plugin-specific completion integration
0be13f1 to
39338c8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add Plugin Discovery and Integration
This PR adds comprehensive plugin discovery and integration functionality to
nilla-cli, making it easy for users to discover and use plugins likenilla-homeandnilla-nixos.This solves the issue #22.
Features
Plugin Discovery
nilla-*executables in the system PATHPlugin Listing
nilla plugins listcommand displays all available plugins in a formatted tableHelp Integration
nilla --helpoutputnilla <plugin> --helpcorrectly shows the plugin's help instead of nilla's helpShell Completions
nilla <TAB> home <TAB>)nilla home switch <TAB>)Technical Details
--helpand--versionoutputnilla-<plugin>tonilla <plugin>format