canopy
canopy copied to clipboard
feat(cli): add --rpc-url/--admin-url flags and fix --data-dir targeting
Summary
- Fix
--data-dirflag being ignored: moved initialization frominit()toPersistentPreRunEso flags are parsed before config loads - Add
--rpc-urland--admin-urlflags to override node URLs from config at runtime
Test plan
- [ ]
canopy --data-dir /custom/path <cmd>uses the specified directory - [ ]
canopy --rpc-url http://localhost:9000 <cmd>overrides config RPC URL - [ ]
canopy --admin-url http://localhost:9001 <cmd>overrides config admin URL - [ ] Default behavior unchanged when flags are omitted