nushell/src/commands/next.rs

8 lines
274 B
Rust
Raw Normal View History

2019-08-07 17:49:11 +00:00
use crate::commands::command::CommandAction;
use crate::errors::ShellError;
use crate::prelude::*;
2019-08-09 04:51:21 +00:00
pub fn next(_args: CommandArgs, _registry: &CommandRegistry) -> Result<OutputStream, ShellError> {
2019-08-07 17:49:11 +00:00
Ok(vec![Ok(ReturnSuccess::Action(CommandAction::NextShell))].into())
}