[][src]Function broot::command::parse_command_sequence

pub fn parse_command_sequence(
    sequence: &str,
    con: &AppContext
) -> Result<Vec<Command>, ProgramError>

parse a string which is meant as a sequence of commands.

The ';' separator is used to identify inputs unless it's overriden in env variable BROOT_CMD_SEPARATOR. Verbs are verified, to ensure the command sequence has no unexpected holes.