program_executor/
program_executor.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use std::path::PathBuf;

use clap::Parser;

#[derive(Debug, Parser)]
struct ExecutorArgs {
    #[clap(long)]
    program_dir: PathBuf,
    // input -> what type?
}

fn main() {
    let _args = ExecutorArgs::parse();
    // 1. get the exe from program dir
    println!("Hello, world!");
}