From 64aae4be6344c27c07d6057c0a4481fc237eb719 Mon Sep 17 00:00:00 2001 From: David Lau Date: Fri, 27 Mar 2026 17:17:28 +0800 Subject: [PATCH] fix: remove default tag filter from token holders and traders commands - Remove hardcoded "renowned" default from --tag in `token holders` command - Remove hardcoded "renowned" default from --tag in `token traders` command - Update skills/gmgn-token/SKILL.md to show --tag has no default (returns all wallets when omitted) Fixes #14 --- skills/gmgn-token/SKILL.md | 2 +- src/commands/token.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/skills/gmgn-token/SKILL.md b/skills/gmgn-token/SKILL.md index d2fd50b..72c2107 100644 --- a/skills/gmgn-token/SKILL.md +++ b/skills/gmgn-token/SKILL.md @@ -47,7 +47,7 @@ Use the `gmgn-cli` tool to query token information based on the user's request. | `--limit` | No | `20` | Number of results, max `100` | | `--order-by` | No | `amount_percentage` | Sort field — see table below | | `--direction` | No | `desc` | Sort direction: `asc` / `desc` | -| `--tag` | No | — | Wallet filter: `renowned` (KOL wallets) / `smart_degen` (smart money) | +| `--tag` | No | — | Wallet filter: `renowned` (KOL wallets) / `smart_degen` (smart money). Omit to return all wallets. | | `--raw` | No | — | Output raw single-line JSON | ### `--order-by` Values diff --git a/src/commands/token.ts b/src/commands/token.ts index 559a56b..b646e30 100644 --- a/src/commands/token.ts +++ b/src/commands/token.ts @@ -57,7 +57,7 @@ export function registerTokenCommands(program: Command): void { .option("--limit ", "Number of results (default 20, max 100)", parseInt) .option("--order-by ", "Sort field: amount_percentage / profit / unrealized_profit / buy_volume_cur / sell_volume_cur", "amount_percentage") .option("--direction ", "Sort direction: asc / desc", "desc") - .option("--tag ", "Wallet tag filter: renowned / smart_degen", "renowned") + .option("--tag ", "Wallet tag filter: renowned / smart_degen") .option("--raw", "Output raw JSON") .action(async (opts) => { validateChain(opts.chain); @@ -80,7 +80,7 @@ export function registerTokenCommands(program: Command): void { .option("--limit ", "Number of results (default 20, max 100)", parseInt) .option("--order-by ", "Sort field: amount_percentage / profit / unrealized_profit / buy_volume_cur / sell_volume_cur", "amount_percentage") .option("--direction ", "Sort direction: asc / desc", "desc") - .option("--tag ", "Wallet tag filter: renowned / smart_degen", "renowned") + .option("--tag ", "Wallet tag filter: renowned / smart_degen") .option("--raw", "Output raw JSON") .action(async (opts) => { validateChain(opts.chain);