[go: up one dir, main page]

trycmd 0.4.1

Snapshot testing for a herd of CLI tests
Documentation
1
2
3
4
5
6
7
use std::io::prelude::*;

fn main() {
    let schema = schemars::schema_for!(trycmd::schema::OneShot);
    let schema = serde_json::to_string_pretty(&schema).unwrap();
    std::io::stdout().write_all(schema.as_bytes()).unwrap();
}