Skip to content

Commit fed6301

Browse files
katspaughclaude
andauthored
feat: add full argument support to account create command (#32)
Implement comprehensive non-interactive support for Safe account creation: **account create** - Add `--chain-id <chainId>` option to specify chain without selection prompt - Add `--owners <addresses>` option supporting: - Comma-separated addresses: `0xabc,0xdef` - JSON array format: `["0xabc","0xdef"]` - Automatic validation and checksumming - Add `--threshold <number>` option to set signature threshold - Add `--name <name>` option to set Safe name - Add `--no-deploy` flag to skip deployment prompt - Add JSON output mode with `--json` flag including: - Safe details (name, address, EIP-3770 format, chain) - Configuration (owners, threshold, salt nonce) - Deployment status All parameters maintain backward compatibility with interactive prompts when not provided. ### Example Usage ```bash # Fully automated Safe creation safe account create \ --chain-id 1 \ --owners "0x123...,0x456..." \ --threshold 2 \ --name production-safe \ --no-deploy \ --json # JSON array format for owners safe account create \ --chain-id 137 \ --owners '["0xabc...","0xdef..."]' \ --threshold 2 \ --name polygon-safe \ --json ``` This completes Phase 3 of the non-interactive CLI enhancement, providing full automation support for all account management commands. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <[email protected]>
1 parent d1c427d commit fed6301

File tree

1 file changed

+235
-150
lines changed

1 file changed

+235
-150
lines changed

0 commit comments

Comments
 (0)