Skip to content

Commit

Permalink
Fix cli queryType
Browse files Browse the repository at this point in the history
  • Loading branch information
ytham committed Jun 21, 2024
1 parent caac23b commit 984bd3a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion axiom-init/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async function main() {
.option("-p, --path <path>", "file path")
.option("-s, --scaffold <type>", "type of scaffold (nextjs, script, forge, none)")
.option("-m, --manager <name>", "package manager to use (npm, yarn, pnpm)")
.option("-q, --query-type", "type of query (`samechain`, `crosschain`) [default: samechain]")
.option("-q, --query-type <type>", "type of query (`samechain`, `crosschain`) [default: samechain]")
.option("-c, --chain-id <number>", "(samechain) chainId (default: 11155111)")
.option("-tc, --target-chain-id <number>", "(crosschain) target chainId [default: 84532]")
.option("-sc, --source-chain-id <number>", "(crosschain) source chainId [default: 11155111]")
Expand Down
1 change: 0 additions & 1 deletion axiom-init/src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ export const setup = async (
validatePackageManager(answers.manager);

// Initialize scaffold manager
console.log("ANS", answers.path!, answers.manager!, sourceChainId, answers.targetChainId)
const scaffoldManager = new ProjectScaffoldManager(answers.path!, answers.manager!, sourceChainId, targetChainId);
return {
scaffoldManager,
Expand Down

0 comments on commit 984bd3a

Please sign in to comment.