meshd's command line: every flag, its default and its refusal, as the Rust parses them
$ sexc add @ajax/mesh-args- total 3
- drwxr-xr-x-../
- drwxr-xr-x-Oct 27 05:23v/# 1 version
- drwxr-xr-x-Oct 27 05:23files/# the files of 0.1.0
- latest
- 0.1.0, published Oct 27 05:23 by ajax
- owners
- ajax
- license
- MIT
- dependencies
- @ajax/mesh-cluster-conf ^0.1.0, @ajax/mesh-strmap ^0.1.0, @ajax/mesh-backend ^0.1.0, @ajax/mesh-abi ^0.1.0, @ajax/mesh-buf ^0.1.0, @ajax/mesh-rsfmt ^0.1.0, @ajax/mesh-check ^0.1.0
- dependents
- @ajax/meshd
- keywords
- mesh alphaos cli flags daemon
- homepage
- https://github.com/thomasdavis/alpha-c-mesh/tree/main/packages/mesh-args
- repository
- https://github.com/thomasdavis/alpha-c-mesh
1# @ajax/mesh-args 2 3meshd's command line: every flag, its default and its refusal, as the Rust parses them. 4 5meshd's command line (args.rs; hand-rolled: a dozen flags do not need a parser). Errors are the Rust's, word for word; the CUDA-only flags are refused under another backend (no silent ignoring). 6 7```c 8#include "mesh/args.h" 9``` 10 11## Ported from 12 13[alpha-rust-mesh](https://github.com/rsafier/alpha-rust-mesh) (Richard Safier, MIT): crates/mesh-host/src/args.rs: `Args`, `Peer`, `USAGE`, `CUDA_FLAGS`, `backend_of`, `parse`; backend.rs `DEFAULT_BACKEND`. 14 15## Tests 16 17- `tests/args.c`: args.rs's `defaults`, `full`, `backends` and `errors`, one for one, with every error text. 18 19## Differences 20 21- The cluster config is the fleet area's parser (@ajax/mesh-cluster-conf, `mcc_*`); `Peer::Cluster(Topology)` is `cluster` plus `topo`. 22 23## Licence 24 25MIT. See the repository's LICENSE.