nushell/src/commands/next.rs

8 lines
274 B
Rust
Raw Normal View History

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