feat: write some lowlevel code
This commit is contained in:
@@ -57,7 +57,10 @@ fn run_status(program: wfassoc::Program, view: wfassoc::View) -> Result<()> {
|
||||
|
||||
fn run_ext_link(program: wfassoc::Program, scope: wfassoc::Scope, exts: Vec<String>) -> Result<()> {
|
||||
let exts = stringified_exts_to_indices(&program, exts)?;
|
||||
todo!()
|
||||
for index in exts {
|
||||
program.link_ext(scope, index)?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn run_ext_unlink(
|
||||
@@ -66,7 +69,10 @@ fn run_ext_unlink(
|
||||
exts: Vec<String>,
|
||||
) -> Result<()> {
|
||||
let exts = stringified_exts_to_indices(&program, exts)?;
|
||||
todo!()
|
||||
for index in exts {
|
||||
program.link_ext(scope, index)?;
|
||||
}
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn run_ext_list(
|
||||
|
||||
Reference in New Issue
Block a user