ANW-10 bootstrap anwesen crate and CLI skeleton

This commit is contained in:
Andreas Brenner 2026-05-14 14:24:38 +02:00
parent 0c21e6c5ff
commit 317667cce7
9 changed files with 3099 additions and 0 deletions

29
README.md Normal file
View file

@ -0,0 +1,29 @@
# Anwesen
Read-only HTTP daemon over a markdown vault. Walks notes in place, parses
YAML frontmatter, watches the directory for changes, and answers three kinds
of question over JSON: read one note, list a folder, query by frontmatter.
See the User Manual and ADRs in the project's design vault for the contract
and rationale.
## Subcommands
```
anwesen serve --vault <path> [--bind <addr:port>] [--log-level <level>]
anwesen doctor --vault <path> [--log-level <level>]
anwesen version
```
Each flag has a matching `ANWESEN_<UPPER>` environment variable; CLI wins
over env.
## Development
```
scripts/ci.sh # fmt + clippy + test
```
## License
Dual-licensed under MIT or Apache-2.0 at your option.