printBuiltins method
Prints the list of scripts in the config.
If search
is provided, it filters the scripts to only those that contain the search string.
Implementation
void printBuiltins([String search = '']) {
final builtins = [
TableRow('-ls, --list [search]',
'List available scripts. Add search term to filter.'),
TableRow('-h, --help', 'Print this help message'),
];
final padLen = _getPadLen(builtins.map((b) => b.name).toList());
_printTable(builtins, padLen);
}