feat: zag CLI with all commands, human/JSON/XML output and e2e smoke test (M5)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
35106d405b
commit
9d08e4d3fd
13 files changed
+2147
-68
No files matched your search
@@ -55,3 +55,11 @@ Guidance for AI coding agents working in `zag`, the Zig port of the
|
||||
binary is static and does not depend on the host's crt files (the host linker fails on newer gcc
|
||||
`.sframe` sections).
|
||||
- Width/fill on a signed integer prints a leading `+` (`{d:0>2}` of an `i64`); cast to unsigned first.
|
||||
| `src/args.zig` | Option parser (long/short, `=`/separate values, `--`, stop-at-positional) |
|
||||
| `src/query.zig` | Job listing filter shared by the daemon and offline CLI |
|
||||
| `src/logging.zig` | Timestamped stderr logging with a runtime level |
|
||||
| `src/cli.zig` | CLI dispatch, shared `Context`, help text |
|
||||
| `src/cli_jobs.zig` | `run`, `status`, `describe`, `usage`, `kill`, `clean` |
|
||||
| `src/cli_admin.zig` | `service ...`, `config ...`, `autocompletion` |
|
||||
| `src/main.zig` | Binary entry point |
|
||||
| `test/e2e.sh` | End-to-end smoke test (`zig build e2e`) |
|
||||
Reference in new issue
Block a user