vdev/commands/check/
licenses.rs

1use anyhow::Result;
2
3use crate::app;
4
5/// Check that the 3rd-party license file is up to date
6#[derive(clap::Args, Debug)]
7#[command()]
8pub struct Cli {}
9
10impl Cli {
11    pub fn exec(self) -> Result<()> {
12        app::exec("dd-rust-license-tool", ["check"], true).inspect_err(|_| {
13            info!("Run `cargo vdev build licenses` to regenerate the file");
14        })
15    }
16}