validate method
validate command line arguments
Implementation
@override
bool validate() {
super.validate();
if (args.isEmpty) {
CliException('Enter the name of the package you wanna remove',
codeSample: codeSample);
}
return true;
}