2019-11-10 23:17:47 -08:00
|
|
|
use crate::common::*;
|
|
|
|
|
|
|
|
#[derive(Debug)]
|
|
|
|
pub(crate) enum Setting<'src> {
|
|
|
|
Shell(Shell<'src>),
|
2021-03-28 22:38:07 -07:00
|
|
|
Export(bool),
|
|
|
|
DotenvLoad(bool),
|
2019-11-10 23:17:47 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
#[derive(Debug, PartialEq)]
|
|
|
|
pub(crate) struct Shell<'src> {
|
2020-02-10 20:07:06 -08:00
|
|
|
pub(crate) command: StringLiteral<'src>,
|
2019-11-10 23:17:47 -08:00
|
|
|
pub(crate) arguments: Vec<StringLiteral<'src>>,
|
|
|
|
}
|