Skip to content

Commit

Permalink
Release v0.2.13 (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
lfportal authored Jun 6, 2019
1 parent bf061f9 commit ebb88c5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]`

Expand Down Expand Up @@ -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`

Expand All @@ -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`

Expand All @@ -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`

Expand All @@ -235,14 +235,15 @@ 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
$ spot test api.ts -u http://localhost:3000 -s http://localhost:3000/spot
$ 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`

Expand All @@ -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)_
<!-- commandsstop -->
2 changes: 1 addition & 1 deletion cli/src/commands/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
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": "@airtasker/spot",
"version": "0.2.12",
"version": "0.2.13",
"author": "Francois Wouts, Leslie Fung",
"bin": {
"spot": "./bin/run"
Expand Down

0 comments on commit ebb88c5

Please sign in to comment.