xpath command for nushell (#2656)

* xpath prototype

* new xpath engine is finally working

* nearly there

* closer

* working with list, started to add test, code cleanup

* broken again

* working again - time for some cleanup

* cleaned up code, added error handling and test

* update example, fix clippy

* removed commented char
This commit is contained in:
Darren Schroeder
2020-10-12 08:03:00 -05:00
committed by GitHub
parent 5770b15270
commit 2573441e28
6 changed files with 225 additions and 0 deletions

View File

@ -126,6 +126,7 @@ pub(crate) mod where_;
pub(crate) mod which_;
pub(crate) mod with_env;
pub(crate) mod wrap;
pub(crate) mod xpath;
pub(crate) use autoview::Autoview;
pub(crate) use cd::Cd;
@ -270,6 +271,7 @@ pub(crate) use where_::Where;
pub(crate) use which_::Which;
pub(crate) use with_env::WithEnv;
pub(crate) use wrap::Wrap;
pub(crate) use xpath::XPath;
#[cfg(test)]
mod tests {