mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 18:15:04 +02:00
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:
@ -3,9 +3,9 @@ use nu_protocol::engine::{Command, EngineState, Stack};
|
||||
use nu_protocol::{Category, Example, PipelineData, Signature, Span, SyntaxShape, Value};
|
||||
|
||||
#[derive(Clone)]
|
||||
pub struct ExportEnv;
|
||||
pub struct ExportEnvModule;
|
||||
|
||||
impl Command for ExportEnv {
|
||||
impl Command for ExportEnvModule {
|
||||
fn name(&self) -> &str {
|
||||
"export env"
|
||||
}
|
||||
|
@ -40,7 +40,7 @@ pub use export::ExportCommand;
|
||||
pub use export_alias::ExportAlias;
|
||||
pub use export_def::ExportDef;
|
||||
pub use export_def_env::ExportDefEnv;
|
||||
pub use export_env::ExportEnv;
|
||||
pub use export_env::ExportEnvModule;
|
||||
pub use export_extern::ExportExtern;
|
||||
pub use export_use::ExportUse;
|
||||
pub use extern_::Extern;
|
||||
|
Reference in New Issue
Block a user