yt-cli 0.1.1

Command line interface for JetBrains YouTrack
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::ffi::OsString;
use std::process::ExitCode;

mod cli;

fn main() -> ExitCode {
    let argv: Vec<OsString> = std::env::args_os().skip(1).collect();
    if argv.first().is_some_and(|word| word == "__complete_word__") {
        return cli::completion::answer(&argv);
    }
    cli::run(cli::Yt::parse())
}