ListCommand constructor
ListCommand()
Implementation
ListCommand() {
argParser
..addFlag(
'matched',
negatable: true,
defaultsTo: true,
help: 'Show all matches if enabled, otherwise, show non-matches.',
)
..addOption(
'type',
defaultsTo: typeDefault,
allowed: typeNames,
allowedHelp: {
'file': 'is file',
'directory': 'is directory',
'link': 'is filesystem link',
},
valueHelp: 'file',
help: 'match type (file, directory, link)',
);
}