validate method

  1. @override
bool validate()
override

validate command line arguments

Implementation

@override
bool validate() {
  super.validate();
  if (args.isEmpty) {
    CliException(LocaleKeys.error_no_package_to_remove.tr,
        codeSample: codeSample);
  }
  return true;
}