shortcutArg top-level property
Implementation
final FigArg shortcutArg = FigArg(
generators: [
FigGenerator(
script: ['shortcuts', 'list'],
postProcess: (String out, [List<String>? tokens]) {
return out
.split('\n')
.map((shortcut) => FigSuggestion(
name: shortcut,
icon: 'fig:///System/Applications/Shortcuts.app',
))
.toList();
},
),
],
);