Files
tribes-plugin-aether/nix/nosdump-no-upgrade.patch
2026-04-09 10:44:46 +02:00

31 lines
1.2 KiB
Diff

--- 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...] <relays...>")
.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()