Skip to content

Commit

Permalink
1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Florin Mihalache committed Jan 14, 2021
1 parent 34baf8b commit 0e18b0d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 23 deletions.
41 changes: 20 additions & 21 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ $ npm install -g @ionos-cloud/api-mock
$ csdk-api-mock COMMAND
running command...
$ csdk-api-mock (-v|--version|version)
@ionos-cloud/api-mock/1.0.0 darwin-x64 node-v14.15.0
@ionos-cloud/api-mock/1.0.1 darwin-x64 node-v14.15.0
$ csdk-api-mock --help [COMMAND]
USAGE
$ csdk-api-mock COMMAND
Expand All @@ -26,43 +26,42 @@ USAGE
<!-- usagestop -->
# Commands
<!-- commands -->
* [`csdk-api-mock hello [FILE]`](#csdk-api-mock-hello-file)
* [`csdk-api-mock help [COMMAND]`](#csdk-api-mock-help-command)
* [`csdk-api-mock run [FILE]`](#csdk-api-mock-run-file)

## `csdk-api-mock hello [FILE]`
## `csdk-api-mock help [COMMAND]`

describe the command here
display help for csdk-api-mock

```
USAGE
$ csdk-api-mock hello [FILE]
$ csdk-api-mock help [COMMAND]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
ARGUMENTS
COMMAND command to show help for
EXAMPLE
$ csdk-api-mock hello
hello world from ./src/run.ts!
OPTIONS
--all see all commands in CLI
```

_See code: [src/commands/run.ts](https://github.com/ionos-cloud/api-mock/blob/v1.0.0/src/commands/hello.ts)_
_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.1/src/commands/help.ts)_

## `csdk-api-mock help [COMMAND]`
## `csdk-api-mock run [FILE]`

display help for csdk-api-mock
run a mock server using an endpoint map

```
USAGE
$ csdk-api-mock help [COMMAND]
ARGUMENTS
COMMAND command to show help for
$ csdk-api-mock run [FILE]
OPTIONS
--all see all commands in CLI
-d, --debug
-h, --help show CLI help
-p, --port=port [default: 8080]
EXAMPLE
$ csdk-api-mock run map.json
```

_See code: [@oclif/plugin-help](https://github.com/oclif/plugin-help/blob/v3.2.1/src/commands/help.ts)_
_See code: [src/commands/run.ts](https://github.com/ionos-cloud/api-mock/blob/v1.0.1/src/commands/run.ts)_
<!-- commandsstop -->
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@ionos-cloud/api-mock",
"description": "Ionos Cloud API Mock Engine",
"version": "1.0.0",
"version": "1.0.1",
"author": "Florin Mihalache",
"bin": {
"csdk-api-mock": "./bin/run"
Expand Down

0 comments on commit 0e18b0d

Please sign in to comment.