blob: b5acf3267362c592c442c47d07ba095211de02cb (
plain)
1
2
3
4
5
6
7
8
9
10
|
/// The actionable part of a [Verse][super::verse::Verse]
///
/// Each [Stanza] has two parts, a `verb()` and a `clause()`. The
/// `verb()` is the program, or path to the program to call, while the
/// `clause()` contains arguments to pass to that program.
///
/// The [Stanza] is just stored as a [Vec] of [String]s, where the verb
/// is the first entry in the vector (i.e. `stanza[0]`) and the clause
/// the the remainder of the vector (i.e. `stanza[1..]`).
pub type Stanza = Vec<String>;
|