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