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.
Most messages are currently in Polish. The tables quote them verbatim, with <placeholders> for variable parts, and give the meaning in English. Messages of create-gato-app are in English and listed on its page.

Any command

Reading .wa/kit.json

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

create

add

remove

add, list and update: kit source

In list these appear in a Dostępne: nie udało się pobrać kitu (<reason>) line and the exit code stays 0.

update

generate

See gato generate.

Lines that do not fail the command

These go to stdout.