UpgradeDependencyCommand constructor

UpgradeDependencyCommand()

Implementation

UpgradeDependencyCommand() {
  argParser.addOptionMorphemeYaml();
  argParser.addFlag(
    'all',
    abbr: 'a',
    help: 'Upgrade all project package\'s dependencies to latest versions...',
    negatable: false,
  );
  argParser.addFlag(
    'dependency',
    abbr: 'd',
    help:
        'Upgrade all dependency_manager package\'s dependencies to latest versions...',
    negatable: false,
  );
  argParser.addFlag(
    'morpheme',
    abbr: 'g',
    help:
        'Upgrade all morpheme_library package\'s dependencies to latest versions... (default)',
    negatable: false,
  );
}