We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4d41353 + d30d3a5 commit 9c19543Copy full SHA for 9c19543
2 files changed
Readme.md
@@ -14,6 +14,7 @@ Install with `npm install travisjs -g`
14
Usage: travisjs <command>
15
16
command
17
+ version display the current version
18
init initialize travis (hook and yml)
19
badge generate badge
20
open open travis page
bin/travisjs.js
@@ -9,6 +9,13 @@ var program = require('nomnom')
9
.script('travisjs')
10
;
11
12
+program.command('version')
13
+ .help('display the current version')
+ .callback(function () {
+ return require('../package').version;
+ })
+ ;
+
program.command('init')
.help('initialize travis (hook and yml)')
21
.callback(function (opts) {
0 commit comments