nx_supplement.nx
buildroot/runtime/nx_supplement.nx
about
nx_supplement.nx -- C14.0: S-class unified front-door CLI.
Git-style subcommand dispatcher. Single binary, discoverable
commands, self-validating. Stays bits-up sovereign.
USAGE:
nx_supplement # show help
nx_supplement help # show help
nx_supplement check FILE # single-sample JSON
nx_supplement batch C R FILES # multi-sample NDJSON
nx_supplement csv R FILES # CSV table for Excel
nx_supplement compounds # list all reference compounds
nx_supplement explain ID # show details for compound ID
nx_supplement selftest # verify install via bundled examples
nx_supplement version # show version
dependencies 11 imports · 0 importers
diagram shows first 10 each side; +1 more imports, +0 more importers in the complete lists below.
imports: nx_chem.nxnx_chem_molecule.nxnx_chem_smiles.nxnx_chem_periodic.nxnx_chem_valence.nxnx_chem_mass.nxnx_chem_isotope_pattern.nxnx_chem_adulterant_db.nxnx_chem_peak_list.nxnx_chem_report_json.nxnx_chem_report_csv.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 29 | func nx_sup_version() -> *u8 |
| 36 | func str_eq(a: *u8, b: *u8) -> nx_int called by 1: main |
| 52 | func parse_int_arg(s: *u8) -> nx_int called by 1: cmd_explain |
| 68 | func is_dash(p: *u8) -> nx_int |
| 77 | func cmd_help() -> i64 called by 1: main |
| 127 | func cmd_version() -> i64 |
| 135 | func cmd_compounds() -> i64 |
| 179 | func cmd_explain(id_str: *u8) -> i64 |
| 249 | func cmd_check(path: *u8) -> i64 |
| 296 | func cmd_validate() -> i64 |
| 354 | func cmd_selftest() -> i64 |
| 468 | func process_one_sample_batch(db: *AdulterantDB, peak_path: *u8) -> nx_int |
| 506 | func cmd_batch(argc: i64, argv: *i64, start_idx: i64) -> i64 |
| 537 | func process_one_csv_row(db: *AdulterantDB, peak_path: *u8) -> nx_int |
| 563 | func cmd_csv(argc: i64, argv: *i64, start_idx: i64) -> i64 |
| 593 | func main(argc: i64, argv: *i64) -> i64 |