Add metadata generator and CLI integration
This commit is contained in:
parent
205ab25d41
commit
c19c5c21ab
6 changed files with 291 additions and 1 deletions
11
README.md
11
README.md
|
|
@ -129,6 +129,17 @@ cargo run --bin metadata_indexer -- --base-dir . refresh
|
|||
Passing `--books mlfs,blfs` restricts the refresh to specific books, and
|
||||
`--force` bypasses the local cache.
|
||||
|
||||
To materialise a Rust module from harvested metadata:
|
||||
|
||||
```bash
|
||||
cargo run --bin metadata_indexer -- \
|
||||
--base-dir . generate \
|
||||
--metadata ai/metadata/packages/mlfs/binutils-pass-1.json \
|
||||
--output target/generated/by_name
|
||||
```
|
||||
|
||||
Add `--overwrite` to regenerate an existing module directory.
|
||||
|
||||
## 📚 Documentation
|
||||
|
||||
- [Architecture Overview](docs/ARCHITECTURE.md) – high-level tour of the crate
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue