ztl-cli 0.1.0

Interactive cli for running scripts from Package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use clap::Parser;

#[derive(Parser, Debug)]
#[command(name = "ztl",
          version,
          about = "Run npm/yarn/pnpm scripts interactively",
          long_about = "A Rust-based interactive CLI tool for running package.json scripts")]
pub struct CliArgs {}

impl CliArgs {
    pub fn parse() -> Self {
        <Self as Parser>::parse()
    }
}