Skip to content
This repository was archived by the owner on Nov 8, 2024. It is now read-only.

Commit e2aa37e

Browse files
author
Adam Kliment
committed
Bumped version
1 parent 3cfd1bd commit e2aa37e

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

bin/dredd

+13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
#!/usr/bin/env node
22
var cli = require('../lib/cli')
33

4+
if(process.argv[2] == undefined || process.argv[3] == undefined){
5+
text = "Dredd - API Blueprint testing tool"
6+
text = text + "\n" + "usage:"
7+
text = text + "\n" + " dredd <path to blueprint> <api_endpoint>"
8+
text = text + "\n"
9+
text = text + "\n" + "example:"
10+
text = text + "\n" + " dredd ./apiary.apib http://localhost:3000"
11+
text = text + "\n"
12+
13+
console.log(text)
14+
process.exit(1)
15+
}
16+
417
configuration = {
518
blueprintPath: process.argv[2],
619
server: process.argv[3],

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dredd",
3-
"version": "0.0.1",
3+
"version": "0.1.0",
44
"description": "API Blueprint testing tool",
55
"main": "lib/dredd.js",
66
"bin": {

0 commit comments

Comments
 (0)