2a7b8e19d42bc98aaaf67b9a7cb92bb803e8a482none
AGENTS.mdTool: agents-md# SnapRAID Development Guide
This document provides guidance for agentic coding agents working on the SnapRAID codebase.
## Project Structure
### Core Source Files (`cmdline/`)
The CLI is organized into focused C modules:
| Modules | Purpose |
|---|---|
| `main.c`, `snapraid.h` / `snapraid.c` | Program entry points, option parsing, and CLI command dispatch |
| `state.h` / `state.c` | Global state (`snapraid_state`), config file parsing, and content file read/write |
| `elem.h` / `elem.c` | Core data monone