remove old cli

This commit is contained in:
Schrottkatze 2024-01-20 20:07:55 +01:00
parent 746c81ab60
commit 48458fd1c9
Signed by: schrottkatze
GPG key ID: DFD0FD205943C14A
3 changed files with 0 additions and 31 deletions

View file

@ -2,7 +2,6 @@
members = [
"crates/app",
"crates/executor",
"crates/pl-cli",
"crates/rpl"
]
resolver = "2"

View file

@ -1,11 +0,0 @@
[package]
name = "pl-cli"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
clap = { workspace = true, features = [ "derive" ] }
rpl = { path = "../rpl" }
executor = { path = "../executor" }

View file

@ -1,19 +0,0 @@
use std::{fs, path::PathBuf};
use clap::Parser;
use executor::{execute_all, Executors};
#[derive(Parser, Debug)]
pub struct Args {
file: PathBuf,
primary_executor: Executors,
}
fn main() {
let args = dbg!(Args::parse());
let f = fs::read_to_string(args.file).unwrap();
let pl = rpl::from_ron(&f);
execute_all(pl.0);
}