auraline 0.5.0

utility that renders information into a string suitable to be embedded in the shell prompt.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mod cmd;
mod color;
mod git;
mod netns;
mod options;
mod prompt;

use crate::options::Options;
use clap::Parser;
use futures::TryFutureExt;
use prompt::{build_prompt, print_prompt};

#[tokio::main]
async fn main() {
    let _ = build_prompt(Options::parse())
        .and_then(|p| async move { print_prompt(p).await })
        .await;
}