From e2aa37ebad0cdf0b4a40400273085d26b1e3734a Mon Sep 17 00:00:00 2001 From: Adam Kliment Date: Sat, 14 Sep 2013 18:49:04 +0200 Subject: [PATCH] Bumped version --- bin/dredd | 13 +++++++++++++ package.json | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/bin/dredd b/bin/dredd index 463497244..600e34e60 100755 --- a/bin/dredd +++ b/bin/dredd @@ -1,6 +1,19 @@ #!/usr/bin/env node var cli = require('../lib/cli') +if(process.argv[2] == undefined || process.argv[3] == undefined){ + text = "Dredd - API Blueprint testing tool" + text = text + "\n" + "usage:" + text = text + "\n" + " dredd " + text = text + "\n" + text = text + "\n" + "example:" + text = text + "\n" + " dredd ./apiary.apib http://localhost:3000" + text = text + "\n" + + console.log(text) + process.exit(1) +} + configuration = { blueprintPath: process.argv[2], server: process.argv[3], diff --git a/package.json b/package.json index 9f8030ad5..e2e460aab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dredd", - "version": "0.0.1", + "version": "0.1.0", "description": "API Blueprint testing tool", "main": "lib/dredd.js", "bin": {