Skip to content

plugin

The plugin group manages CLI plugins and extensions: discovery, install, lifecycle, dependency resolution, security scanning, a marketplace backed by the npm registry, command registration, middleware, and auto-generated docs. It is the largest command group in the CLI.

Terminal window
re-shell plugin --help
SubcommandPurpose
listList installed plugins.
discoverDiscover available plugins.
install <plugin>Install from a local path, git URL, or npm package.
uninstall <plugin>Uninstall a plugin.
enable / disable <plugin>Toggle a plugin.
info <plugin>Show plugin information.
updateUpdate all plugins.
validate <path>Validate a plugin.
reload <plugin>Reload a plugin.
Terminal window
re-shell plugin install ./my-plugin
re-shell plugin install reshell-plugin-example
re-shell plugin list
re-shell plugin info reshell-plugin-example

The installer classifies the source (npm / git / local), resolves and validates the manifest, and registers it in .re-shell/plugins/registry.json. Errors surface as code: "PLUGIN_INSTALL_ERROR".

The marketplace connects to the real npm registry (keyword reshell-plugin) and can verify package signatures against npm’s key API.

SubcommandPurpose
search [query]Search plugins in the marketplace.
show <plugin>Detailed plugin information from the marketplace.
install-marketplace <plugin> [version]Install from the npm registry.
featured / popular [category]Browse featured/popular plugins.
categoriesShow available categories.
Terminal window
re-shell plugin search graphql
re-shell plugin featured
re-shell plugin install-marketplace reshell-plugin-example 1.0.0

Marketplace errors use code: "MARKETPLACE_UNREACHABLE", "MARKETPLACE_ERROR", or "MARKETPLACE_VERIFY_ERROR".

Terminal window
re-shell plugin deps
re-shell plugin conflicts
re-shell plugin security-scan
re-shell plugin security-report

Plugins can register their own commands, with middleware, conflict resolution, validation schemas, caching, and auto-generated documentation:

Terminal window
re-shell plugin commands
re-shell plugin command-conflicts
re-shell plugin middleware
re-shell plugin generate-docs

Run re-shell plugin --help for the complete list of subcommands.