lib/cli.js
function exec() {

  var actions = {
    commands: {
      'list-dependencies': { action: _listDependencies },
      'list-devdependencies': { action: _listDevDependencies },
      'list-peerdependencies': { action: _listPeerDependencies },
      'list-optdependencies': { action: _listOptDependencies },
      'list-alldependencies': { action: _listAllDependencies },
      'set-node-engine': { action: _setNodeEngine },
      'sort-dependencies': { action: _sortDependencies },
      'sort-devdependencies': { action: _sortDevDependencies },
      'sort-peerdependencies': { action: _sortPeerDependencies },
      'sort-optdependencies': { action: _sortOptDependencies },
      'sort-alldependencies': { action: _sortAllDependencies },
      'traverse-dependencies': { action: _traverseDependencies },
      'upgrade-version-patch': { action: _upgradeVersionPatch },
      'upgrade-version-minor': { action: _upgradeVersionMinor },
      'upgrade-version-major': { action: _upgradeVersionMajor },
      'upgrade-version': { action: _upgradeVersionPatch },
      'upgrade-dependencies': { action: _upgradeDependencies },
    }
  };

  cli.command(__dirname, actions);
}
function exec() {

  var actions = {
    commands: {
      'list-dependencies': { action: _listDependencies },
      'list-devdependencies': { action: _listDevDependencies },
      'list-peerdependencies': { action: _listPeerDependencies },
      'list-optdependencies': { action: _listOptDependencies },
      'list-alldependencies': { action: _listAllDependencies },
      'set-node-engine': { action: _setNodeEngine },
      'sort-dependencies': { action: _sortDependencies },
      'sort-devdependencies': { action: _sortDevDependencies },
      'sort-peerdependencies': { action: _sortPeerDependencies },
      'sort-optdependencies': { action: _sortOptDependencies },
      'sort-alldependencies': { action: _sortAllDependencies },
      'traverse-dependencies': { action: _traverseDependencies },
      'upgrade-version-patch': { action: _upgradeVersionPatch },
      'upgrade-version-minor': { action: _upgradeVersionMinor },
      'upgrade-version-major': { action: _upgradeVersionMajor },
      'upgrade-version': { action: _upgradeVersionPatch },
      'upgrade-dependencies': { action: _upgradeDependencies },
    }
  };

  cli.command(__dirname, actions);
}
function exec ( ) { var actions = { commands : { 'list-dependencies' : { action : _listDependencies } , 'list-devdependencies' : { action : _listDevDependencies } , 'list-peerdependencies' : { action : _listPeerDependencies } , 'list-optdependencies' : { action : _listOptDependencies } , 'list-alldependencies' : { action : _listAllDependencies } , 'set-node-engine' : { action : _setNodeEngine } , 'sort-dependencies' : { action : _sortDependencies } , 'sort-devdependencies' : { action : _sortDevDependencies } , 'sort-peerdependencies' : { action : _sortPeerDependencies } , 'sort-optdependencies' : { action : _sortOptDependencies } , 'sort-alldependencies' : { action : _sortAllDependencies } , 'traverse-dependencies' : { action : _traverseDependencies } , 'upgrade-version-patch' : { action : _upgradeVersionPatch } , 'upgrade-version-minor' : { action : _upgradeVersionMinor } , 'upgrade-version-major' : { action : _upgradeVersionMajor } , 'upgrade-version' : { action : _upgradeVersionPatch } , 'upgrade-dependencies' : { action : _upgradeDependencies } , } } ; cli . command ( __dirname , actions ) ; }
Execute PkjUtil CLI.
Execute PkjUtil CLI .