Expand description
Pure AppleScript render functions for tag-admin ops. No I/O — each
function takes the inputs the tool surface accepts and returns the
AppleScript source as a String. The driver (OsascriptDriver) and
the facade (TagAdmin) are the layers that actually run the script.
Functions§
- escape_
applescript_ string - Escape a user-supplied string for safe inclusion inside an AppleScript double-quoted literal. AppleScript’s escape rules: backslash escapes itself and a literal double quote.
- render_
create_ tag - render_
delete_ tag - render_
merge_ tags - Reassign every to-do that carries
sourceto also carrytarget, then delete thesourcetag. AppleScript surface:to dos of tag "source"enumerates the tasks; we add the target tag to each and then remove the source tag from the global tag list. - render_
move_ tag - render_
rename_ tag