Declarative application command bound to a modified keyboard shortcut.
Command IDs are the same non-empty event names used by buttons and menus.
Shortcuts use primary for Command on macOS and Control elsewhere, with
optional ctrl, alt, and shift modifiers, for example primary-r or
primary-shift-p.
Summary
Functions
Builds and validates one application command.
Converts a command into its renderer-independent protocol tuple.
Validates command count, IDs, shortcuts, and uniqueness.
Types
Functions
Builds and validates one application command.
Converts a command into its renderer-independent protocol tuple.
Validates command count, IDs, shortcuts, and uniqueness.