/** * Tests for CLI commands batch 2 — CLI-15 through CLI-26 * * Covers: * CLI-15: comments
List comments (GET) * CLI-16: comments
--post "msg" Post comment (POST, needs API key) * CLI-17: buy
--amount 10 --dry-run calculateBuy preview * CLI-18: sell
--amount 1000 --dry-run calculateSell preview * CLI-19: optimize agent1q... --description "D" updateAgent via SDK * CLI-20: config set-key av-xxx Store key in ~/.agentlaunch/config.json * CLI-21: config show Print env, URL, key (masked) * CLI-22: init Installs embedded files * CLI-23: init --dry-run Lists files without writing * CLI-24: claim 0xWALLET POST /faucet/claim * CLI-25: create --json --name X --ticker T Full lifecycle: scaffold -> deploy -> tokenize * CLI-26: create --json --name X --ticker T Returns JSON output * * Pattern: Commander.js parseAsync with mocked globalThis.fetch and console capture. * Tests run via: node --test --import tsx/esm */ export {}; //# sourceMappingURL=commands-2.test.d.ts.map