LastVersionCommand constructor

LastVersionCommand({
  1. String name = 'lastpub',
})

Implementation

LastVersionCommand({super.name = 'lastpub'})
    : super(
        description: 'Shows the most recently published version to pub.flutter-io.cn',
        configureArg: (arg) => arg
          ..addOption("source",
              abbr: "s",
              help: 'Package name or path to a pubspec file',
              defaultsTo: './pubspec.yaml'),
      );