Compare commits

...

6 Commits

@ -1,6 +1,6 @@
[package]
name = "embed-nu"
version = "0.5.1"
version = "0.5.4"
edition = "2021"
license = "Apache-2.0"
repository = "https://github.com/Trivernis/embed-nu"

@ -147,17 +147,47 @@ pub fn bind_path_commands(engine_state: &mut EngineState) -> CrateResult<()> {
}
}
#[cfg(windows)]
pub fn bind_system_commands(engine_state: &mut EngineState) -> CrateResult<()> {
bind_commands! {
engine_state,
Benchmark,
Complete,
Exec,
External,
NuCheck,
Sys,
Ps,
Which,
RegistryQuery
}
}
#[cfg(unix)]
pub fn bind_system_commands(engine_state: &mut EngineState) -> CrateResult<()> {
bind_commands! {
engine_state,
Benchmark,
Complete,
External,
NuCheck,
Sys,
Ps,
Which,
Exec
}
}
#[cfg(not(any(unix, windows)))]
pub fn bind_system_commands(engine_state: &mut EngineState) -> CrateResult<()> {
bind_commands! {
engine_state,
Benchmark,
Complete,
External,
NuCheck,
Sys,
Ps,
Which
}
}

@ -10,6 +10,7 @@ pub use argument::{Argument, IntoArgument};
pub use context::{CommandGroupConfig, Context, ContextBuilder};
pub use into_expression::*;
pub use into_value::*;
pub use nu_engine::{self, CallExt};
pub use nu_protocol::{self, PipelineData, Value};
pub use rusty_value;
pub use utils::NewEmpty;

Loading…
Cancel
Save