Skip to content

Commit 328c90d

Browse files
committed
Update the AGENTS.md
1 parent 0257328 commit 328c90d

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

AGENTS.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@ Priorities, in order:
3535

3636
- `src/lib.zig`: Public API entry point. Re-exports `Command`, `CommandOptions`, `Flag`, `FlagType`, `FlagValue`, `PositionalArg`, `CommandContext`,
3737
`styles`, and `Error`.
38-
- `src/chilli/command.zig`: The `Command` struct (command tree, init/deinit, `run`, subcommand and flag registration).
39-
- `src/chilli/types.zig`: Core types (`CommandOptions`, `Flag`, `FlagType`, `FlagValue`, `PositionalArg`) and the `parseValue` helper.
38+
- `src/chilli/command.zig`: The `Command` struct, `CommandOptions`, init/deinit, `run`, subcommand and flag registration, and the private help-output printers.
39+
- `src/chilli/types.zig`: Core types (`Flag`, `FlagType`, `FlagValue`, `PositionalArg`) and the `parseBool` / `parseValue` helpers.
4040
- `src/chilli/parser.zig`: Argument-string parser (`ArgIterator`, `ParsedFlag`, long/short/grouped flag handling, positional handling).
4141
- `src/chilli/context.zig`: The `CommandContext` passed to each command's `exec` function for typed flag and argument access.
4242
- `src/chilli/errors.zig`: Error types produced by parsing and type coercion.
43-
- `src/chilli/utils.zig`: Shared helpers (`styles` for ANSI colors, `parseBool`, and other small utilities).
43+
- `src/chilli/styles.zig`: ANSI escape-code constants plus a TTY-gated `s()` wrapper used by the help and error output.
4444
- `examples/`: Self-contained example programs (`e1_simple_cli.zig` through `e8_flags_and_args.zig`) built as executables via `build.zig`.
45-
- `.github/workflows/`: CI workflows (`tests.yml` for unit tests on Linux and Windows, `docs.yml` for API doc deployment).
45+
- `.github/workflows/`: CI workflows (`tests.yml` for unit tests on Linux, macOS, and Windows, `docs.yml` for API doc deployment).
4646
- `build.zig` / `build.zig.zon`: Zig build configuration and package metadata.
4747
- `Makefile`: GNU Make wrapper around `zig build` targets.
4848
- `docs/`: Generated API docs land in `docs/api/` (produced by `make docs`).
@@ -135,7 +135,7 @@ Good first tasks:
135135

136136
Before coding:
137137

138-
1. Modules affected by the change (`command`, `parser`, `types`, `context`, `errors`, or `utils`).
138+
1. Modules affected by the change (`command`, `parser`, `types`, `context`, `errors`, or `styles`).
139139
2. Whether the change is user-visible in `--help` output, and if so, which examples will surface it.
140140
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.
141141
4. Cross-platform implications, especially for anything that touches environment variables, the filesystem, or process-args encoding.

0 commit comments

Comments
 (0)