implement cli help

This commit is contained in:
Dustin J. Mitchell
2020-12-20 18:42:21 -05:00
parent 2c579b9f01
commit 6b550e7516
7 changed files with 323 additions and 53 deletions

View File

@@ -24,4 +24,10 @@ pub(crate) use modification::{DescriptionMod, Modification};
pub(crate) use report::Report;
pub(crate) use subcommand::Subcommand;
use crate::usage::Usage;
type ArgList<'a> = &'a [&'a str];
pub(crate) fn get_usage(usage: &mut Usage) {
Subcommand::get_usage(usage);
}