Skip to content

ionos-cloud/api-mock

Repository files navigation

@ionos-cloud/api-mock

Ionos Cloud API Mock Engine

CI oclif

Usage

$ 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.1 darwin-x64 node-v14.15.0
$ csdk-api-mock --help [COMMAND]
USAGE
  $ csdk-api-mock COMMAND
...

Commands

csdk-api-mock help [COMMAND]

display help for csdk-api-mock

USAGE
  $ csdk-api-mock help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

csdk-api-mock run [FILE]

run a mock server using an endpoint map

USAGE
  $ csdk-api-mock run [FILE]

OPTIONS
  -d, --debug
  -h, --help       show CLI help
  -p, --port=port  [default: 8080]

EXAMPLE
  $ csdk-api-mock run map.json

See code: src/commands/run.ts