Skip to content

ionos-cloud/ionossdk

Repository files navigation

@ionos-cloud/ionossdk

Ionos Cloud SDK generator

Version License

Usage

$ npm install -g @ionos-cloud/ionossdk
$ ionossdk COMMAND
running command...
$ ionossdk (-v|--version|version)
@ionos-cloud/ionossdk/1.2.7 linux-x64 node-v22.3.0
$ ionossdk --help [COMMAND]
USAGE
  $ ionossdk COMMAND
...

Commands

ionossdk cache OPERATION

cache management

USAGE
  $ ionossdk cache OPERATION

ARGUMENTS
  OPERATION  (clear|info) cache operation to perform

OPTIONS
  -d, --debug  show debug information
  -h, --help   show CLI help

See code: src/commands/cache.ts

ionossdk env

Build ENV variables from an assets bundle

USAGE
  $ ionossdk env

OPTIONS
  -a, --assets-dir=assets-dir  (required) sdk assets directory (templates, scripts etc)
  -d, --debug                  show debug information
  -h, --help                   show CLI help
  -i, --artifactId=artifactId  artifact id, can be set from env variable IONOSSDK_ARTIFACTID
  -n, --name=name              (required) sdk to build
  -o, --output-dir=output-dir  output dir
  -p, --package=package        sdk package name, can be set from env var IONOSSDK_PACKAGE
  -s, --spec=spec              [default: none.json] api spec
  -v, --version=version        [default: 0.0.0] sdk version

See code: src/commands/env.ts

ionossdk generate

Generates an Ionos Cloud SDK

USAGE
  $ ionossdk generate

OPTIONS
  -a, --assets-dir=assets-dir  sdk assets directory (templates, scripts etc)
  -b, --build                  also build the sdk with the build.sh script
  -c, --no-cache               don't use the cache
  -d, --debug                  show debug information
  -h, --help                   show CLI help
  -i, --artifactId=artifactId  artifact id, can be set from env variable IONOSSDK_ARTIFACTID
  -n, --name=name              (required) sdk to build
  -o, --output-dir=output-dir  output dir
  -p, --package=package        sdk package name, can be set from env var IONOSSDK_PACKAGE
  -s, --spec=spec              (required) api spec
  -v, --version=version        (required) sdk version

See code: src/commands/generate.ts

ionossdk help [COMMAND]

display help for ionossdk

USAGE
  $ ionossdk help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help