nodeGenerator top-level property
Implementation
final FigGenerator nodeGenerator = FigGenerator(
script: ['kind', 'get', 'nodes', '-A'],
postProcess: (String out, [List<String>? tokens]) {
return out
.split('\n')
.map((node) => FigSuggestion(
name: node,
description: 'Node',
))
.toList();
},
);