Initial commit

This commit is contained in:
Gerald Pinder 2023-09-25 21:11:31 -04:00
commit 6a7cadd2f6
5 changed files with 1084 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
/target

1050
Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff

13
Cargo.toml Normal file
View file

@ -0,0 +1,13 @@
[package]
name = "ublue-rs"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0.75"
clap = { version = "4.4.4", features = ["derive"] }
serde = { version = "1.0.188", features = ["derive"] }
serde_yaml = "0.9.25"
tera = "1.19.1"

20
src/bin/ublue.rs Normal file
View file

@ -0,0 +1,20 @@
use anyhow::Result;
use clap::{Parser, Subcommand};
#[derive(Parser, Debug)]
#[command(name = "Ublue Builder", author, version, about, long_about = None)]
struct UblueArgs {
#[command(subcommand)]
command: CommandArgs,
}
#[derive(Debug, Subcommand)]
enum CommandArgs {
Template,
Build,
}
fn main() -> Result<()> {
UblueArgs::parse();
Ok(())
}

0
src/lib.rs Normal file
View file