This commit is contained in:
2025-07-30 15:00:20 +02:00
parent 9fd551e0f7
commit 66757c52d7
85 changed files with 117 additions and 499 deletions

View File

@@ -16,7 +16,7 @@ pub mut:
// session ?&base.Session
}
// get a new playbook, can scan a directory or just add text
// get a new plbook, can scan a directory or just add text
// ```
// path string
// text string
@@ -26,7 +26,7 @@ pub mut:
// git_reset bool
// session &base.Session
// ```
pub fn new(args_ PlayBookNewArgs) !PlayBook {
pub fn new(args_ PlayBookNewArgs) ! {
mut args := args_
mut c := base.context() or { return error('failed to get context: ${err}') }

View File

@@ -189,7 +189,7 @@ pub fn (plbook PlayBook) hashkey() string {
return bs.hex()
}
// check if playbook is empty,if not will give error, means there are actions left to be exected
// check if plbook is empty,if not will give error, means there are actions left to be exected
pub fn (mut plbook PlayBook) empty_check() ! {
mut actions := []&Action{}
for a in plbook.actions {