Previewing changes
You can see any change izzy would make before it makes it, as a list, a diff, or JSON for agents and
scripts. izzy never replaces a file you've changed unless you ask it to.
See the changes first
Add one of these options to any command that changes your app, such as izzy add, izzy init or izzy update:
| Option | What it does |
|---|---|
--dry-run | Lists what would change, and writes nothing. |
--diff | Shows the changes as a unified diff. |
--json | Prints the changes as JSON. izzy list and izzy describe take it too. |
JSON for agents and scripts
--json prints the changes as data: the files to create, the text to insert, the packages to add,
any warnings, and any files that clash. Each insert includes its position and a hash of the file it was
planned against.
A coding agent can run the command with --dry-run --json, show you the changes, and then run it
again without --dry-run once you agree.
Files you've changed
If a file izzy would create already exists with different content, izzy stops, writes nothing and tells you
which file it is. To compare the two, run the command with --diff. To replace the file, run it with
--overwrite.
When izzy adds a line to one of your files, such as a @using, it skips the line if it's already
there.
Exit codes
| Code | Meaning |
|---|---|
0 | Done, or there was nothing to change. |
1 | An error, such as an unknown setting, or an app that doesn't build after izzy init. |
2 | A file already exists with different content. Nothing was written. |
3 | The item, layout or command needs IzzyBlazor Pro. izzy list marks these items. |
4 | The item comes with a free account, and this machine isn't signed in. Run izzy login. |
5 | izzy audit found problems that --fail-on counts. |
Next steps
- AI assistants: connect your coding agent to IzzyBlazor's docs.