tailwag 0.3.0

This is the main crate for the Tailwag suite, an experimental framework for building batteries-included application prototypes.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
fn main() {
    let mut args = std::env::args();
    let _app_name = args.next().expect("No command name found in Args.");
    match args.next().as_deref() {
        Some("new") => println!("new not currently supported"),
        Some("migrate") => println!("Migrate not currenlty supported."),
        Some("deploy") => println!("deploy not currently supported"),
        // Some("connect") => todo!(),
        // Some("run") => todo!(), // Thinkign: `tw run gui` or `tw run webservice` or `tw run tasks` / `tw run all`
        // Some(_) | None => print_help(),
        Some(_) | None => println!("Nothing is currently supported!"),
    }
}

#[allow(unused)]
fn print_help() {
    println!("Usage: tailwag <action> <filepath>");
}