cargo_zng/res/built_in/
z.rs1use super::*;
2
3const Z_HELP: &str = r#"
4Skip an entire pass for each 'z'
5
6These request files:
7 source/echo 'sh
8 | echo "first pass"
9 source/echo 'z'sh
10 | echo "second pass"
11 source/echo 'zz'sh
12 | echo "third pass"
13 source/other 'rp'warn
14 | other, ${ZR_APP}!
15
16Will print in this order:
17
18| first pass
19| other, Foo
20| second pass
21| third pass
22
23Note that the recursive tool 'rp'warn runs before the second pass too, because
24recursive tools execute immediately.
25
26The 'z tool exists to enable packages to stage files for a final tool to aggregate the result
27
28The 'zz or 'zzz... "tools" are a special syntax, 'zz'tool is the equivalent of 'z'z'tool
29"#;
30pub(super) fn z() {
31 help(Z_HELP);
32}