containsArg method
return true
if contains flags
example run
ftc sort . --skipRename
print(containsArg('--skipRename')); // true
print(containsArg('--relative')); // false
Implementation
bool containsArg(String flag) {
return _args.contains(flag);
}