--- a/command.ts +++ b/command.ts @@ -3,8 +3,6 @@ import { toText as streamToText } from "@std/streams"; import type { ArgumentValue } from "@cliffy/command"; import { Command, ValidationError } from "@cliffy/command"; import { CompletionsCommand } from "@cliffy/command/completions"; -import { UpgradeCommand } from "@cliffy/command/upgrade"; -import { JsrProvider } from "@cliffy/command/upgrade/provider/jsr"; import type { AllEventsIterOptions, FetchFilter, FetchTimeRangeFilter } from "nostr-fetch"; import * as nip19 from "nostr-tools/nip19"; @@ -29,18 +27,6 @@ export const nosdumpCommand = new Command() .description("A tool to dump events stored in Nostr relays") .usage("[options...] ") .command("completions", new CompletionsCommand()) - .command( - "upgrade", - new UpgradeCommand({ - provider: [ - new JsrProvider({ - scope: "jiftechnify", - package: "@jiftechnify/nosdump", - }), - ], - args: ["--allow-all"], // grant all permissions while upgrading - }), - ) .command("relay-alias", relayAliasCommand).alias("alias") .command("relay-set", relaySetCommand).alias("rset") .reset()