MCPcopy Create free account
hub / github.com/cutupdev/Solana-Token-Presale-Smart-Contract / programCommand

Function programCommand

cli/command.ts:110–129  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

108});
109
110function programCommand(name: string) {
111 return program
112 .command(name)
113 .option(
114 // mainnet-beta, testnet, devnet
115 "-e, --env <string>",
116 "Solana cluster env name",
117 "devnet"
118 )
119 .option(
120 "-r, --rpc <string>",
121 "Solana cluster RPC name",
122 "https://api.devnet.solana.com"
123 )
124 .option(
125 "-k, --keypair <string>",
126 "Solana wallet Keypair Path",
127 "admin.json"
128 );
129}
130
131program.parse(process.argv);
132

Callers 1

command.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected