equal
deleted
inserted
replaced
2 |
2 |
3 pub const HELP_TEXT: &str = " |
3 pub const HELP_TEXT: &str = " |
4 Print the current repo requirements. |
4 Print the current repo requirements. |
5 "; |
5 "; |
6 |
6 |
7 pub fn args() -> clap::App<'static, 'static> { |
7 pub fn args() -> clap::Command { |
8 clap::SubCommand::with_name("debugrequirements").about(HELP_TEXT) |
8 clap::command!("debugrequirements").about(HELP_TEXT) |
9 } |
9 } |
10 |
10 |
11 pub fn run(invocation: &crate::CliInvocation) -> Result<(), CommandError> { |
11 pub fn run(invocation: &crate::CliInvocation) -> Result<(), CommandError> { |
12 let repo = invocation.repo?; |
12 let repo = invocation.repo?; |
13 let mut output = String::new(); |
13 let mut output = String::new(); |