vstask 0.3.0

Run VS Code task from the terminal
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use clap::Parser;

#[derive(Parser, Debug)]
#[command(version, about, long_about = None)]
pub struct Args {
    /// Name of the task to run
    pub task_name: Option<String>,
    /// List all available tasks
    #[arg(short, long)]
    pub list: bool,
    /// output task list in json
    #[arg(short, long)]
    pub json: bool,
}

pub fn parse() -> Args {
    Args::parse()
}