1 2 3 4 5 6 7 8 9 10 11 12 13 14
use anyhow::Result; use crate::app; /// Rebuild the 3rd-party license file. #[derive(clap::Args, Debug)] #[command()] pub struct Cli {} impl Cli { pub fn exec(self) -> Result<()> { app::exec("dd-rust-license-tool", ["write"], true) } }