From ebb88c507e2f7afc77081fdc94ac90b51acc1ac4 Mon Sep 17 00:00:00 2001 From: Leslie Fung Date: Thu, 6 Jun 2019 14:42:39 +1000 Subject: [PATCH] Release v0.2.13 (#269) --- README.md | 13 +++++++------ cli/src/commands/test.ts | 2 +- package.json | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 49c0e14f5..f0d3d884b 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ EXAMPLE $ spot generate --contract api.ts --language yaml --generator openapi3 --out output/ ``` -_See code: [build/cli/src/commands/generate.js](https://github.com/airtasker/spot/blob/v0.2.12/build/cli/src/commands/generate.js)_ +_See code: [build/cli/src/commands/generate.js](https://github.com/airtasker/spot/blob/v0.2.13/build/cli/src/commands/generate.js)_ ## `spot help [COMMAND]` @@ -175,7 +175,7 @@ EXAMPLE - package.json ``` -_See code: [build/cli/src/commands/init.js](https://github.com/airtasker/spot/blob/v0.2.12/build/cli/src/commands/init.js)_ +_See code: [build/cli/src/commands/init.js](https://github.com/airtasker/spot/blob/v0.2.13/build/cli/src/commands/init.js)_ ## `spot lint SPOT_CONTRACT` @@ -195,7 +195,7 @@ EXAMPLE $ spot lint api.ts ``` -_See code: [build/cli/src/commands/lint.js](https://github.com/airtasker/spot/blob/v0.2.12/build/cli/src/commands/lint.js)_ +_See code: [build/cli/src/commands/lint.js](https://github.com/airtasker/spot/blob/v0.2.13/build/cli/src/commands/lint.js)_ ## `spot mock SPOT_CONTRACT` @@ -217,7 +217,7 @@ EXAMPLE $ spot mock api.ts ``` -_See code: [build/cli/src/commands/mock.js](https://github.com/airtasker/spot/blob/v0.2.12/build/cli/src/commands/mock.js)_ +_See code: [build/cli/src/commands/mock.js](https://github.com/airtasker/spot/blob/v0.2.13/build/cli/src/commands/mock.js)_ ## `spot test SPOT_CONTRACT` @@ -235,6 +235,7 @@ OPTIONS -s, --stateUrl=stateUrl Base URL for state changes -t, --testFilter=testFilter Filter by endpoint and test -u, --url=url (required) Base URL + --debug Enable debug logs EXAMPLES $ spot test api.ts -u http://localhost:3000 @@ -242,7 +243,7 @@ EXAMPLES $ spot test api.ts -u http://localhost:3000 -t MyEndpoint:myTest ``` -_See code: [build/cli/src/commands/test.js](https://github.com/airtasker/spot/blob/v0.2.12/build/cli/src/commands/test.js)_ +_See code: [build/cli/src/commands/test.js](https://github.com/airtasker/spot/blob/v0.2.13/build/cli/src/commands/test.js)_ ## `spot validate SPOT_CONTRACT` @@ -262,5 +263,5 @@ EXAMPLE $ spot validate api.ts ``` -_See code: [build/cli/src/commands/validate.js](https://github.com/airtasker/spot/blob/v0.2.12/build/cli/src/commands/validate.js)_ +_See code: [build/cli/src/commands/validate.js](https://github.com/airtasker/spot/blob/v0.2.13/build/cli/src/commands/validate.js)_ diff --git a/cli/src/commands/test.ts b/cli/src/commands/test.ts index 102d2d046..aa9a9594d 100644 --- a/cli/src/commands/test.ts +++ b/cli/src/commands/test.ts @@ -28,7 +28,7 @@ export default class Test extends Command { static flags = { help: flags.help({ char: "h" }), - debug: flags.boolean(), + debug: flags.boolean({ description: "Enable debug logs" }), url: flags.string({ required: true, char: "u", diff --git a/package.json b/package.json index c7adfd259..9ca778b02 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@airtasker/spot", - "version": "0.2.12", + "version": "0.2.13", "author": "Francois Wouts, Leslie Fung", "bin": { "spot": "./bin/run"