Skip to content

Commit 4cfe4db

Browse files
committed
fix(txmeta): added txmetaprogram id to yargs
1 parent 9267eb8 commit 4cfe4db

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const argv = yargs(hideBin(process.argv)).options({
2020
}).parseSync();
2121

2222
// console.log(pjson.version);
23-
const load = async (initCluster?: string, programId?: string, programManagerId?: string) => {
23+
const load = async (initCluster?: string, programId?: string, programManagerId?: string, txMetaProgramId?: string) => {
2424
clear();
2525
console.log(chalk.yellow('Starting Squads CLI...') + " Follow the prompts to get started")
2626
const {walletPath} = await SetupWallet();
@@ -34,7 +34,7 @@ const load = async (initCluster?: string, programId?: string, programManagerId?:
3434
}
3535

3636
// start the menu
37-
new Menu(cliWallet, cliConnection, programId, programManagerId);
37+
new Menu(cliWallet, cliConnection, programId, programManagerId, txMetaProgramId);
3838
};
3939

4040
const help = async () => {
@@ -66,5 +66,5 @@ if (argv.help){
6666
console.log(VERSION);
6767
}else {
6868
clear();
69-
load(cluster, programId, programManagerId);
69+
load(cluster, programId, programManagerId, txMetaProgramId);
7070
}

0 commit comments

Comments
 (0)