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