Add support for load-env (#752)

This commit is contained in:
JT
2022-01-15 18:50:11 -05:00
committed by GitHub
parent 75db4a75bc
commit b78924c777
8 changed files with 136 additions and 5 deletions

View File

@ -234,6 +234,7 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
// Conversions
bind_command! {
Fmt,
Into,
IntoBool,
IntoBinary,
@ -242,14 +243,14 @@ pub fn create_default_context(cwd: impl AsRef<Path>) -> EngineState {
IntoFilesize,
IntoInt,
IntoString,
Fmt,
};
// Env
bind_command! {
LetEnv,
WithEnv,
Env,
LetEnv,
LoadEnv,
WithEnv,
};
// Math