debug_confirm_mixed/debug_confirm_mixed.rs
1use pass_tool::{
2 actions::always_ok,
3 checks::{always_no, always_yes},
4 instruction, Playbook,
5};
6
7pub fn main() {
8 let playbook = Playbook::new(
9 "confirm_mixed",
10 "Playbook with mixed confirmation checks",
11 [],
12 [instruction(always_ok()).confirm([always_yes(), always_no()])],
13 );
14 playbook.apply().ok();
15}