N

Exit codes

ndui uses stable, documented exit codes so scripts and CI can react precisely.

CodeMeaning
0Success
1Generic error
2Usage error (bad flags, missing required args)
10Registry unreachable and no usable cache
11Manifest failed schema validation
20Project structure is incompatible with Studio (e.g. unsupported SDK)
21Program.cs non-standard; CLI could not safely edit
30ndui doctor found blocking errors

Use ndui --json to get a machine-readable envelope alongside the exit code.