Skip to content

Commit 9802334

Browse files
committed
feat(init): mention wokwi-cli init in help text
1 parent 94a2f9c commit 9802334

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/help.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ export function cliHelp() {
2222
{green --timeout} <number> Timeout in simulation milliseconds (default: 30000)
2323
{green --timeout-exit-code} <number> Process exit code when timeout is reached (default: 42)
2424
25+
{bold PROJECT CONFIGURATION}
26+
27+
To configure your project for Wokwi, run the "wokwi-cli init" command in the project directory.
28+
This will ask you a few questions and create both wokwi.toml and diagram.json files.
29+
2530
{bold EXAMPLES}
2631
2732
Run the simulation for 5 seconds, and expect "Hello World" in the output (assuming wokwi.toml in the current directory):

0 commit comments

Comments
 (0)