Add export-env command (#6355)

* WIP Start export-env

* Add missing file

* Do not modify the parser

Let's leave that for later

* Enable tests for export-env; Fmt
This commit is contained in:
Jakub Žádník
2022-08-18 23:24:39 +03:00
committed by GitHub
parent 529c98085a
commit 5a56d47f25
8 changed files with 104 additions and 21 deletions

View File

@ -40,7 +40,7 @@ pub fn create_default_context() -> EngineState {
ExportCommand,
ExportDef,
ExportDefEnv,
ExportEnv,
ExportEnvModule,
ExportExtern,
ExportUse,
Extern,
@ -352,6 +352,7 @@ pub fn create_default_context() -> EngineState {
// Env
bind_command! {
Env,
ExportEnv,
LetEnv,
LoadEnv,
WithEnv,