Comparing version 0.0.17 to 0.0.18
#!/usr/bin/env node | ||
var doc = '' + | ||
'Usage: \n' + | ||
' croc [options] ls [<package>...] \n' + | ||
' croc [options] deps [<package>...] \n' + | ||
' croc [options] exec CMD [<package>...] \n' + | ||
' croc [options] pexec CMD [<package>...] \n' + | ||
' croc [options] link \n' + | ||
' croc [options] (install | test | publish) [<package> ..] \n' + | ||
' \n' + | ||
'Options: \n' + | ||
' -h, --help Show this screen. \n' + | ||
' -v, --version Show version. \n' + | ||
' --json Show information in JSON format. \n' + | ||
' -p, --predecessors Include projects depending on the packages. \n' + | ||
' -x, --strict Dependencies must statisfy version (semver) \n' + | ||
' -c, --changed Show only projects that is changed. \n' + | ||
' -s, --since=SHA Commit to diff against [default: master] \n' | ||
var doc = [ | ||
'Usage:', | ||
' croc [options] ls [<package>...]', | ||
' croc [options] deps [<package>...]', | ||
' croc [options] exec CMD [<package>...]', | ||
' croc [options] pexec CMD [<package>...]', | ||
' croc [options] link', | ||
' croc [options] (install | test | publish) [<package> ..]', | ||
'', | ||
'Options:', | ||
' -h, --help Show this screen.', | ||
' -v, --version Show version.', | ||
' --json Show information in JSON format.', | ||
' --dot Show information in DOT format.', | ||
' -p, --predecessors Include projects depending on the packages.', | ||
' -x, --strict Dependencies must statisfy version (semver)', | ||
' -c, --changed Show only projects that is changed.', | ||
' -s, --since=SHA Commit to diff against [default: master]' | ||
].join('\n') | ||
@@ -23,2 +25,3 @@ var docopt = require('docopt').docopt | ||
var dotWriter = require('croc-dag-dot') | ||
var deps = require('croc-deps') | ||
@@ -50,2 +53,4 @@ var link = require('croc-link') | ||
printer.packages(pkgs) | ||
} else if (args['--dot']) { | ||
console.log(dotWriter(pkgs)) | ||
} else { | ||
@@ -57,2 +62,4 @@ printer.packagesTable(pkgs) | ||
printer.dependencies(pkgs) | ||
} else if (args['--dot']) { | ||
console.log(dotWriter(pkgs)) | ||
} else { | ||
@@ -59,0 +66,0 @@ printer.dependenciesTable(pkgs) |
{ | ||
"name": "croc", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "monolithic repository manager", | ||
@@ -25,2 +25,3 @@ "bin": { | ||
"croc-deps": "~0.0.2", | ||
"croc-dag-dot": "~0.0.1", | ||
"croc-exec": "~0.0.2", | ||
@@ -27,0 +28,0 @@ "croc-git": "~0.0.1", |
125
6321
8
5
+ Addedcroc-dag-dot@~0.0.1
+ Addedcroc-dag-dot@0.0.4(transitive)