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

Commit

Permalink
Bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Kliment committed Sep 14, 2013
1 parent 3cfd1bd commit e2aa37e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
13 changes: 13 additions & 0 deletions bin/dredd
Original file line number Diff line number Diff line change
@@ -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 <path to blueprint> <api_endpoint>"
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],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dredd",
"version": "0.0.1",
"version": "0.1.0",
"description": "API Blueprint testing tool",
"main": "lib/dredd.js",
"bin": {
Expand Down

0 comments on commit e2aa37e

Please sign in to comment.