mirror of
https://github.com/nushell/nushell.git
synced 2025-07-01 07:00:37 +02:00
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:
@ -1,4 +1,4 @@
|
||||
use nu_command::hook::{eval_env_change_hook, eval_hook};
|
||||
use nu_cmd_base::hook::{eval_env_change_hook, eval_hook};
|
||||
use nu_engine::eval_block;
|
||||
use nu_parser::parse;
|
||||
use nu_protocol::engine::{EngineState, Stack, StateWorkingSet};
|
||||
|
Reference in New Issue
Block a user