cl-repl: increase jank: first positional arg is main file, remainder are imports

This commit is contained in:
John 2024-07-26 05:13:06 -05:00
parent 524c84be9e
commit 695c812bf5

View File

@ -35,6 +35,10 @@ argwerk::define! {
[#[option] path] if file.is_none() => {
file = path.map(Into::into);
}
[path] if file.is_some() => {
include.push(path.into());
}
}
/// gets whether stdin AND stdout are a terminal, for pipelining