mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-03 20:03:37 +00:00
Add marketplace feed entries command (#96158)
Merged via squash.
Prepared head SHA: 1289a25156
Co-authored-by: giodl73-repo <235387111+giodl73-repo@users.noreply.github.com>
Co-authored-by: giodl73-repo <235387111+giodl73-repo@users.noreply.github.com>
Reviewed-by: @giodl73-repo
This commit is contained in:
@@ -26,6 +26,13 @@ export type PluginMarketplaceListOptions = {
|
||||
json?: boolean;
|
||||
};
|
||||
|
||||
export type PluginMarketplaceEntriesOptions = {
|
||||
feedProfile?: string;
|
||||
feedUrl?: string;
|
||||
json?: boolean;
|
||||
offline?: boolean;
|
||||
};
|
||||
|
||||
export type PluginMarketplaceRefreshOptions = {
|
||||
expectedSha256?: string;
|
||||
feedProfile?: string;
|
||||
@@ -283,6 +290,18 @@ export function registerPluginsCli(program: Command) {
|
||||
.command("marketplace")
|
||||
.description("Inspect Claude-compatible plugin marketplaces");
|
||||
|
||||
marketplace
|
||||
.command("entries")
|
||||
.description("List entries from the configured OpenClaw marketplace feed")
|
||||
.option("--feed-profile <name>", "Configured marketplace feed profile to list")
|
||||
.option("--feed-url <url>", "Explicit hosted marketplace feed URL")
|
||||
.option("--offline", "Read the latest accepted snapshot without fetching the feed", false)
|
||||
.option("--json", "Print JSON")
|
||||
.action(async (opts: PluginMarketplaceEntriesOptions) => {
|
||||
const { runPluginMarketplaceEntriesCommand } = await loadPluginsRuntime();
|
||||
await runPluginMarketplaceEntriesCommand(opts);
|
||||
});
|
||||
|
||||
marketplace
|
||||
.command("refresh")
|
||||
.description("Refresh the configured OpenClaw marketplace feed snapshot")
|
||||
|
||||
Reference in New Issue
Block a user