pub type DefaultCommand = Command<DefaultAndOrList>;
Expand description
Type alias for the default Command
representation.
Aliased Type§
pub enum DefaultCommand {
Job(AndOrList<ListableCommand<PipeableCommand<String, Box<SimpleCommand<String, TopLevelWord<String>, Redirect<TopLevelWord<String>>>>, Box<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>, Rc<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>>>>),
List(AndOrList<ListableCommand<PipeableCommand<String, Box<SimpleCommand<String, TopLevelWord<String>, Redirect<TopLevelWord<String>>>>, Box<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>, Rc<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>>>>),
}
Variants§
Job(AndOrList<ListableCommand<PipeableCommand<String, Box<SimpleCommand<String, TopLevelWord<String>, Redirect<TopLevelWord<String>>>>, Box<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>, Rc<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>>>>)
A command that runs asynchronously, that is, the shell will not wait
for it to exit before running the next command, e.g. foo &
.
List(AndOrList<ListableCommand<PipeableCommand<String, Box<SimpleCommand<String, TopLevelWord<String>, Redirect<TopLevelWord<String>>>>, Box<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>, Rc<CompoundCommand<CompoundCommandKind<String, TopLevelWord<String>, TopLevelCommand<String>>, Redirect<TopLevelWord<String>>>>>>>)
A list of and/or commands, e.g. foo && bar || baz
.