mirror of
https://github.com/nushell/nushell.git
synced 2024-12-15 03:32:50 +01:00
34033afce4
Also simplify commands and reduce papercuts
8 lines
240 B
Rust
8 lines
240 B
Rust
use crate::commands::command::CommandAction;
|
|
use crate::errors::ShellError;
|
|
use crate::prelude::*;
|
|
|
|
pub fn exit(_args: CommandArgs) -> Result<OutputStream, ShellError> {
|
|
Ok(vec![Ok(ReturnSuccess::Action(CommandAction::Exit))].into())
|
|
}
|