You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,7 @@ Priorities, in order:
41
41
-`src/chilli/context.zig`: The `CommandContext` passed to each command's `exec` function for typed flag and argument access.
42
42
-`src/chilli/errors.zig`: Error types produced by parsing and type coercion.
43
43
-`src/chilli/styles.zig`: ANSI escape-code constants plus a TTY-gated `s()` wrapper used by the help and error output.
44
+
-`src/chilli/deprecation.zig`: Warning formatter and stderr emitter for deprecated commands, flags, and positional arguments, with `CHILLI_NO_DEPRECATION_WARNINGS` suppression.
44
45
-`examples/`: Self-contained example programs (`e1_simple_cli.zig` through `e8_flags_and_args.zig`) built as executables via `build.zig`.
45
46
-`.github/workflows/`: CI workflows (`tests.yml` for unit tests on Linux, macOS, and Windows, `docs.yml` for API doc deployment).
46
47
-`build.zig` / `build.zig.zon`: Zig build configuration and package metadata.
@@ -135,7 +136,7 @@ Good first tasks:
135
136
136
137
Before coding:
137
138
138
-
1. Modules affected by the change (`command`, `parser`, `types`, `context`, `errors`, or `styles`).
139
+
1. Modules affected by the change (`command`, `parser`, `types`, `context`, `errors`, `styles`, or `deprecation`).
139
140
2. Whether the change is user-visible in `--help` output, and if so, which examples will surface it.
140
141
3. Public API impact, i.e. whether the change adds to or alters anything re-exported from `src/lib.zig`, and is therefore additive or breaking.
141
142
4. Cross-platform implications, especially for anything that touches environment variables, the filesystem, or process-args encoding.
0 commit comments