@@ -2,16 +2,16 @@ import { Option } from "commander";
2
2
3
3
import { l2Chains } from "../data/chains" ;
4
4
5
- export const chainOption = new Option ( "-c, --chain <chain>" , "Chain to use" ) . choices (
5
+ export const chainOption = new Option ( "-- c, --chain <chain>" , "Chain to use" ) . choices (
6
6
l2Chains . filter ( ( e ) => e . l1Chain ) . map ( ( chain ) => chain . network )
7
7
) ;
8
8
export const l1RpcUrlOption = new Option ( "--l1-rpc, --l1-rpc-url <URL>" , "Override L1 RPC URL" ) ;
9
9
export const l2RpcUrlOption = new Option ( "--l2-rpc, --l2-rpc-url <URL>" , "Override L2 RPC URL" ) ;
10
- export const privateKeyOption = new Option ( "-pk, --private-key <URL>" , "Private key of the sender" ) ;
10
+ export const privateKeyOption = new Option ( "-- pk, --private-key <URL>" , "Private key of the sender" ) ;
11
11
export const amountOptionCreate = ( action : string ) =>
12
- new Option ( "--amount <amount>" , `Amount of ETH to ${ action } (eg. 0.1)` ) ;
12
+ new Option ( "--a, -- amount <amount>" , `Amount of ETH to ${ action } (eg. 0.1)` ) ;
13
13
export const recipientOptionCreate = ( recipientLocation : string ) =>
14
- new Option ( "--recipient <address>" , `Recipient address on ${ recipientLocation } (0x address)` ) ;
14
+ new Option ( "--to, -- recipient <address>" , `Recipient address on ${ recipientLocation } (0x address)` ) ;
15
15
export const zeekOption = new Option (
16
16
"--zeek" ,
17
17
"zeek, the dev cat, will search for an inspirational quote and provide to you at the end of any command"
0 commit comments