UNPKG
@greenpress/cli
Version:
latest (0.9.18)
0.9.18
0.9.17
0.9.16
0.9.15
0.9.14
0.9.13
0.9.12
0.9.11
0.9.10
0.9.9
0.9.8
0.9.7
0.9.6
0.9.5
0.9.4
0.9.3
0.9.2
0.9.1
0.9.0
0.8.4
0.8.3
0.8.2
0.8.1
0.8.0
0.7.0
0.6.2
0.6.1
0.6.0
0.5.1
0.5.0
0.4.1
0.4.0
0.3.1
0.3.0
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
0.0.3
0.0.2
0.0.1
CLI to install greenpress
github.com/greenpress/greenpress
greenpress/greenpress
@greenpress/cli
/
commands
/
upgrade.js
9 lines
(6 loc)
•
251 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
const
upgradeController =
require
(
'../controllers/upgrade.js'
);
function
setUpgradeCommand
(
program
) { program .
command
(
'upgrade'
,
'upgrade modules to their latest version'
,
yargs
=>
yargs, upgradeController); }
module
.
exports
= setUpgradeCommand