UpdateCommand constructor

UpdateCommand()

Implementation

UpdateCommand()
    : super(
          'update',
          'Update dependency from pubspec.yaml to the last suitable version. '
              'Useful for git dependencies.') {
  argParser
    ..addOption(
      _argDependency,
      abbr: _argDependencyAbbr,
      help: 'Name of the dependency to update.',
      valueHelp: 'PACKAGE_NAME',
    );
}