gflow 0.4.15

A lightweight, single-node job scheduler written in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod cli;
pub(crate) mod commands;
mod utils;

use anyhow::Result;
use clap::Parser;
use std::ffi::OsString;

pub async fn run(argv: Vec<OsString>) -> Result<()> {
    let args = cli::GJob::parse_from(argv);

    tracing_subscriber::fmt()
        .with_max_level(args.verbosity)
        .init();

    commands::handle_commands(&args.config, args.command).await?;
    Ok(())
}