We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbc3fc4 commit e4951b8Copy full SHA for e4951b8
1 file changed
src/index.ts
@@ -54,7 +54,10 @@ export async function generate(
54
(async () => {
55
// setup cli
56
const argv = await yargs(hideBin(process.argv))
57
- .usage('npx @lab11/anchorgen <Program ID>')
+ .usage(
58
+ '$0 <Program ID>',
59
+ 'Reads an Anchor IDL from stdin and prints the equivalent Rust interface to stdout'
60
+ )
61
.demandCommand(1)
62
.positional('Program ID', {
63
describe: 'ID of the generated Anchor program',
0 commit comments