Skip to main content

Exit codes

npm run wa -- … exits with the same code as the CLI. Error messages go to stderr as one line, or several when they list files. Commands the CLI runs (git, npm, docker compose, npx prisma, and in update the target version’s CLI) print straight to the terminal, above the CLI’s own message.
The tables quote messages verbatim, with <placeholders> for variable parts. Messages of create-gato-app are listed on its page.

Any command

Reading .wa/kit.json

add, remove, list, update, generate, doctor and eject read it first.

create

add

remove

add, list and update: kit source

In list these appear in a Available: could not fetch the kit (<reason>) line and the exit code stays 0.

update

generate

See gato generate.

doctor and eject

gato eject messages are listed in gato eject.

Lines that do not fail the command

These go to stdout.