buddy plugins list
buddy plugins list lists the packages in node_modules whose package.json keywords include repobuddy.
buddy plugins list [--format toon|text|json]Alias: buddy plugins ls.
Options
Section titled “Options”| Option | Type | Default | Effect |
|---|---|---|---|
--format |
toon | text | json |
toon |
toon is compact output for agents. text is a sentence for people. json is for a pipe. |
The global options also apply.
Behavior
Section titled “Behavior”- It scans the
node_modulesfolder of the current directory, including nestednode_modulesfolders. It skips@types. - It matches the keyword only. It does not check the config file, and it does not check that the package exports an
activatefunction. A listed package adds commands only after you add it topluginsin the config file. - It reports only installed packages. To find packages on npm, run
buddy plugins search. buddy pluginswith no subcommand prints the group’s help and exits2.
Output
Section titled “Output”toon:
plugins[1]: @repobuddy/typescripthelp[1]: Run `plugins search` to find more plugins on npmtext:
found one plugin: @repobuddy/typescriptjson:
{ "plugins": [ "@repobuddy/typescript" ]}None installed, toon:
plugins: 0 installed plugins found with keywords: repobuddyhelp[1]: Run `plugins search` to find plugins to installNone installed, text:
no plugin with keywords: repobuddyExit codes
Section titled “Exit codes”| Code | When |
|---|---|
0 |
The list printed, including an empty list. |
2 |
An unknown option, or a --format value outside the three. |
Examples
Section titled “Examples”buddy plugins listbuddy plugins ls --format json