asterism-cli 0.0.1

Asterism — assemble one computer from your scattered machines. Early development; CLI stub.
//! Asterism (`ast`) — assemble one computer from your scattered machines.
//!
//! An instance's CPU/RAM anchors on one of your devices; its disk, GPU, and
//! volumes attach from the others over an encrypted mesh. Early development.

fn main() {
    let arg = std::env::args().nth(1).unwrap_or_default();
    match arg.as_str() {
        "up" | "create" | "attach" => {
            eprintln!("ast: `{arg}` is not implemented yet — Asterism is in early development.");
            eprintln!("     follow along: https://github.com/medicalissue/asterism");
            std::process::exit(1);
        }
        "--version" | "-V" => println!("ast {}", env!("CARGO_PKG_VERSION")),
        _ => {
            println!("Asterism — assemble one computer from your scattered machines.");
            println!();
            println!("  your laptop closes; the instance lives on your desktop.");
            println!("  `nvidia-smi` shows the GPU that sits on another continent.");
            println!();
            println!("status: early development. https://github.com/medicalissue/asterism");
        }
    }
}