Attempt heuristic table

This commit is contained in:
Jonathan Turner
2019-08-13 19:45:31 +12:00
parent 4411a5b72c
commit 123b1856c8
5 changed files with 107 additions and 9 deletions

View File

@@ -54,14 +54,6 @@ pub fn autoview(
let table = context.expect_command("table");
let result = table.run(raw.with_input(input), &context.commands).await.unwrap();
result.collect::<Vec<_>>().await;
//println!("TODO!")
// TODO
// let mut host = context.host.lock().unwrap();
// for i in input.iter() {
// let view = GenericView::new(&i);
// handle_unexpected(&mut *host, |host| crate::format::print_view(&view, host));
// host.stdout("");
// }
}
}
}))