pub fn parse_action_spec(spec: &str) -> Vec<Action>Expand description
Read an action spec: |-separated id:label entries, where - is a
separator.
One spelling serves every surface a script builds from a string, so an
author learns the shape once and a tray menu and a notification’s
buttons read alike. Empty entries are skipped, which makes a trailing
| harmless and an empty spec an empty list.