mirror of
https://github.com/nushell/nushell.git
synced 2025-08-09 09:45:50 +02:00
Add pipeline redirection support (#4594)
* redirection * Remove commented-out * fix tests * more fixes
This commit is contained in:
@ -8,6 +8,8 @@ pub struct Call {
|
||||
pub head: Span,
|
||||
pub positional: Vec<Expression>,
|
||||
pub named: Vec<(Spanned<String>, Option<Expression>)>,
|
||||
pub redirect_stdout: bool,
|
||||
pub redirect_stderr: bool,
|
||||
}
|
||||
|
||||
impl Call {
|
||||
@ -17,6 +19,8 @@ impl Call {
|
||||
head,
|
||||
positional: vec![],
|
||||
named: vec![],
|
||||
redirect_stdout: true,
|
||||
redirect_stderr: false,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user