aztec-packages
aztec-packages copied to clipboard
chore(cli): unify numeric CLI option parsing
This PR replaces manual numeric parsing in CLI flags with numberConfigHelper and optionalNumberConfigHelper:
- Replaces parseInt(...) for --port, --admin-port with numberConfigHelper
- Replaces parseInt(...) for deployAztecContractsSalt with optionalNumberConfigHelper
- Adds missing imports from @aztec/foundation/config
This makes CLI option parsing consistent with the rest of the codebase and aligns with existing patterns used in bot, p2p, and prover config mappings.