Commit 78a7e4a7 authored by cmosh's avatar cmosh

Readme fix for npm

parent 05ceb1cf
...@@ -24,7 +24,9 @@ A quick cheatsheet was made by Daniel Kummer: ...@@ -24,7 +24,9 @@ A quick cheatsheet was made by Daniel Kummer:
## Installing git-flow ## Installing git-flow
npm -i gitflow (Mac and Linux users only) ```shell
npm i -g gitflow #Mac and Linux users only, will fail on windows
```
## Contributing ## Contributing
......
require('shelljs/global'); require('shelljs/global');
const program = require('commander'); const program = require('commander');
program.parse(process.argv); program.parse(process.argv);
var args = program.args; var args = program.args.toString().replace(',',' ');
if (!which('git')) { if (!which('git')) {
echo('Sorry, this script requires git'); echo('Sorry, this script requires git');
...@@ -10,7 +10,7 @@ if (!which('git')) { ...@@ -10,7 +10,7 @@ if (!which('git')) {
exec('git flow bugfix '+args,{silent:true}, function(code, stdout, stderr) { exec('git flow bugfix '+args,{silent:true}, function(code, stdout, stderr) {
console.log(stdout.replace("git ","")); console.log(stdout.replace('git ',''));
console.log(stderr); console.log(stderr);
}); });
require('shelljs/global'); require('shelljs/global');
const program = require('commander'); const program = require('commander');
program.parse(process.argv); program.parse(process.argv);
var args = program.args; var args = program.args.toString().replace(',',' ');
if (!which('git')) { if (!which('git')) {
echo('Sorry, this script requires git'); echo('Sorry, this script requires git');
......
require('shelljs/global'); require('shelljs/global');
const program = require('commander'); const program = require('commander');
program.parse(process.argv); program.parse(process.argv);
var args = program.args; var args = program.args.toString().replace(',',' ');
if (!which('git')) { if (!which('git')) {
echo('Sorry, this script requires git'); echo('Sorry, this script requires git');
......
require('shelljs/global'); require('shelljs/global');
const program = require('commander'); const program = require('commander');
program.parse(process.argv); program.parse(process.argv);
var args = program.args; var args = program.args.toString().replace(',',' ');
if (!which('git')) { if (!which('git')) {
echo('Sorry, this script requires git'); echo('Sorry, this script requires git');
......
require('shelljs/global'); require('shelljs/global');
const program = require('commander'); const program = require('commander');
program.parse(process.argv); program.parse(process.argv);
var args = program.args; var args = program.args.toString().replace(',',' ');
if (!which('git')) { if (!which('git')) {
echo('Sorry, this script requires git'); echo('Sorry, this script requires git');
......
require('shelljs/global'); require('shelljs/global');
const program = require('commander'); const program = require('commander');
program.parse(process.argv); program.parse(process.argv);
var args = program.args; var args = program.args.toString().replace(',',' ');
if (!which('git')) { if (!which('git')) {
echo('Sorry, this script requires git'); echo('Sorry, this script requires git');
......
require('shelljs/global'); require('shelljs/global');
const program = require('commander'); const program = require('commander');
program.parse(process.argv); program.parse(process.argv);
var args = program.args; var args = program.args.toString().replace(',',' ');
if (!which('git')) { if (!which('git')) {
echo('Sorry, this script requires git'); echo('Sorry, this script requires git');
......
require('shelljs/global'); require('shelljs/global');
const program = require('commander'); const program = require('commander');
program.parse(process.argv); program.parse(process.argv);
var args = program.args; var args = program.args.toString().replace(',',' ');
if (!which('git')) { if (!which('git')) {
echo('Sorry, this script requires git'); echo('Sorry, this script requires git');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment