summaryrefslogtreecommitdiff
path: root/crates/renderer/src/main.rs
diff options
context:
space:
mode:
authorLLLL Colonq <llll@colonq>2026-04-30 22:16:17 -0400
committerLLLL Colonq <llll@colonq>2026-04-30 22:16:17 -0400
commitd9a2dbf1d939423eeb100aa3910406f80d0a781f (patch)
tree6b60a4c68c3a85a1ab07adc497908e3ec9878c48 /crates/renderer/src/main.rs
parentf171d500036e4d08244d02308ba3f62afdd87162 (diff)
Diffstat (limited to 'crates/renderer/src/main.rs')
-rw-r--r--crates/renderer/src/main.rs26
1 files changed, 0 insertions, 26 deletions
diff --git a/crates/renderer/src/main.rs b/crates/renderer/src/main.rs
index b71a836..6f951ac 100644
--- a/crates/renderer/src/main.rs
+++ b/crates/renderer/src/main.rs
@@ -29,11 +29,6 @@ pub fn main() -> Erm<()> {
.about("Run the LCOLONQ model renderer in a terminal")
)
.subcommand(
- Command::new("validate-card")
- .arg(Arg::new("path"))
- .about("Validate the TCG card at the given path.")
- )
- .subcommand(
Command::new("repair-card")
.arg(Arg::new("path"))
.about("Repair the TCG card at the given path.")
@@ -57,27 +52,6 @@ pub fn main() -> Erm<()> {
Some(("model-terminal", _cm)) => {
teleia::run("LCOLONQ", 1920, 1080, teleia::Options::HIDDEN, overlay::model::Terminal::new)?;
},
- Some(("validate-card", cm)) => {
- if let Some(path) = cm.get_one::<String>("path") {
- if overlay::tcg::validate_card(&std::fs::read(path)?)? {
- println!("signatures match!");
- std::process::exit(0);
- } else {
- println!("signatures do not match");
- std::process::exit(1);
- }
- } else {
- eprintln!("no path specified");
- }
- },
- Some(("repair-card", cm)) => {
- if let Some(path) = cm.get_one::<String>("path") {
- let res = overlay::tcg::repair_card(&std::fs::read(path)?)?;
- std::io::stdout().write_all(&res)?;
- } else {
- eprintln!("no path specified");
- }
- },
_ => unreachable!("no subcommand"),
}
Ok(())