67bd318bf9
Allow recipe arguments to be passed as positional arguments to commands.
16 lines
319 B
Rust
16 lines
319 B
Rust
use crate::common::*;
|
|
|
|
#[derive(Debug)]
|
|
pub(crate) enum Setting<'src> {
|
|
DotenvLoad(bool),
|
|
Export(bool),
|
|
PositionalArguments(bool),
|
|
Shell(Shell<'src>),
|
|
}
|
|
|
|
#[derive(Debug, PartialEq)]
|
|
pub(crate) struct Shell<'src> {
|
|
pub(crate) command: StringLiteral<'src>,
|
|
pub(crate) arguments: Vec<StringLiteral<'src>>,
|
|
}
|