feat: CLI usability improvements from feedback review#42
Merged
CodesMcCabe merged 7 commits intomainfrom Mar 30, 2026
Merged
Conversation
lohnim
approved these changes
Mar 27, 2026
Phase 1 - Quick wins: - Show --timeout default (none) in help text - Add help examples to prices historical - Allow --reveal in non-TTY when explicitly passed - Split tx and receipt: tx only calls eth_getTransactionByHash Phase 2 - Small features: - Add --mainnet-only, --testnet-only, --search to network list - Move --configured to apps configured-networks subcommand - Add --dry-run to webhooks create/update/delete Phase 3 - Medium features: - Add hint in tokens output pointing to tokens metadata - Make tokens a pure namespace (tokens balances <address>) - Remove deprecated portfolio transactions subcommand - Add --commands filter to agent-prompt - Support batch stdin for balance (cat addresses.txt | alchemy balance) BREAKING CHANGES: - tx no longer includes receipt data (use receipt command) - tokens <address> replaced by tokens balances <address> - network list --configured removed (use apps configured-networks) - portfolio transactions removed (use transfers command) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ofing Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
When passed, fetches alchemy_getTokenMetadata for each token in parallel and shows symbol + formatted balance (e.g. "1,234.56 USDC") instead of raw hex. Works in both human and JSON mode. Without the flag, shows a hint suggesting --metadata. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
8a9768f to
b10f666
Compare
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--timeoutdefault in help, addprices historicalexamples, allow--revealin non-TTY, splittxandreceiptinto separate RPC calls--mainnet-only/--testnet-only/--searchtonetwork list, move--configuredtoapps configured-networks, add--dry-runtowebhooks create/update/deletetokensa pure namespace (tokens balances <address>), add metadata hint, remove deprecatedportfolio transactions, add--commandsfilter toagent-prompt, support batch stdin forbalanceBreaking Changes
txno longer includes receipt data — usereceiptcommand separatelytokens <address>→tokens balances <address>network list --configured→apps configured-networksportfolio transactionsremoved (usetransferscommand)Test plan
pnpm test)pnpm run build)alchemy --helpshows updated--timeoutand--revealdescriptionsalchemy prices historical --helpshows examplesalchemy tx <hash>returns only transaction (no receipt)alchemy network list --mainnet-onlyfilters correctlyalchemy tokens balances <address>works and shows metadata hintalchemy agent-prompt --commands balance,tokensfilters outputecho "addr1\naddr2" | alchemy balanceprocesses both🤖 Generated with Claude Code