1 2 3 4 5 6 7 8 9 10 11
use std::{error::Error, fs}; use oseda_cli::Cli; /// Generates the Usage.md documentation from clap help menu fn main() -> Result<(), Box<dyn Error>> { let markdown = clap_markdown::help_markdown::<Cli>(); fs::write("Usage.md", markdown)?; Ok(()) }