Skip to main content

tap_main

Function tap_main 

Source
pub fn tap_main(select: impl Fn(&str) -> Option<Box<dyn SourcePlugin>>)
Expand description

The whole main() of a tap binary: parse --plugin <name>, resolve it through the tap’s own table, serve one request. Progress goes to stderr (the harness forwards it to the host’s progress sink).