Move eval_hook to nu-cmd-base (#10146)

I moved hook to *nu_cmd_base* instead of *nu_cli* because it will enable
other developers to continue to use hook even if they decide to write
their on cli or NOT depend on nu-cli

Then they will still have the hook functionality because they can
include nu-cmd-base
This commit is contained in:
Michael Angerman
2023-08-29 14:46:50 -07:00
committed by GitHub
parent 7d3312e96e
commit 3f2c76df28
10 changed files with 12 additions and 9 deletions

View File

@ -13,7 +13,6 @@ mod formats;
mod generators;
mod hash;
mod help;
pub mod hook;
mod math;
mod misc;
mod network;
@ -44,7 +43,6 @@ pub use formats::*;
pub use generators::*;
pub use hash::*;
pub use help::*;
pub use hook::*;
pub use math::*;
pub use misc::*;
pub use network::*;