snomed-cli 0.11.3

SNOMED® command-line interface toolkit for RF2: SCTID validation, release loading, concept lookup, ECL queries, OWL classification and necessary normal form. SNOMED®, SNOMED CT®, and IHTSDO® are registered trademarks of International Health Terminology Standards Development Organisation (IHTSDO). Use of the trademarks does not constitute endorsement of this product by IHTSDO. This project is an independent work.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![forbid(unsafe_code)]
// Per spec/rust-no-unsafe/index.md: this workspace contains no `unsafe`, and
// the compiler enforces that rather than a grep.

fn main() {
    let args: Vec<String> = std::env::args().skip(1).collect();
    match snomed_cli::run(&args) {
        Ok(output) => print!("{output}"),
        Err(e) => {
            eprintln!("error: {e}");
            std::process::exit(1);
        }
    }
}