Skip to content

Commit 9d741b3

Browse files
authored
[cli] correct readme commands (#644)
1 parent 074d7d9 commit 9d741b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/cli/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To get started with Codama, simply install `@codama/cli` which provides the `cod
1515

1616
```sh
1717
pnpm install @codama/cli
18-
codama init
18+
pnpm codama init
1919
```
2020

2121
You will be prompted for the path of your IDL and asked to select any script presets you would like to use.
@@ -25,9 +25,9 @@ You will be prompted for the path of your IDL and asked to select any script pre
2525
Once you have your codama config file, you can run your Codama scripts using the `codama run` command as follows:
2626

2727
```sh
28-
codama run # Only runs your before visitors.
29-
codama run js rust # Runs your before visitors followed by the `js` and `rust` scripts.
30-
codama run --all # Runs your before visitors followed by all your scripts.
28+
pnpm codama run # Only runs your before visitors.
29+
pnpm codama run js rust # Runs your before visitors followed by the `js` and `rust` scripts.
30+
pnpm codama run --all # Runs your before visitors followed by all your scripts.
3131
```
3232

3333
## The configuration file

0 commit comments

Comments
 (0)