getCliOptStopMode method
Checks whether the given string represents a kind of a flag indicating there is no more option name to expect
Implementation
CliOptStopMode getCliOptStopMode() {
switch (this) {
case '---':
return CliOptStopMode.last;
case '--':
return CliOptStopMode.stop;
default:
return CliOptStopMode.none;
}
}