validateArgs method

bool validateArgs(
  1. List<String> args
)

Implementation

bool validateArgs(List<String> args) {
  if (args.isEmpty) {
    print('\n❌ Please provide a name for the item you want to create.');
    print('Example: bipul create project:my_app');
    return false;
  }
  return true;
}