@giorgi.maisuradze/moonbase
v1.0.6
Published
A utility for generating SDKs.
Downloads
4
Readme
Moonbase SDK Generator
This tool allows you to generate SDKs from an OpenAPI specification.
Installation
To install Moonbase SDK Generator, run:
npm install @giorgi.maisuradze/moonbase
Usage
Moonbase SDK Generator provides the following commands:
- init: Set up the folder and configuration file.
- generate: Send an HTTP request using the configuration values.
- help: Display this help message.
- --version: Display the version of Moonbase SDK Generator.
Initializing Configuration
To initialize the configuration, run:
moonbase init
Follow the prompts to enter the necessary information. Once configured, you can generate the SDK by running:
moonbase generate [--input <path>] [--output <path>]
Options:
- --input : Specify the path to the OpenAPI specification file.
- --output : Specify the output path for the generated SDK (default: './').
Displaying Help
To display the help message, run:
moonbase help [--full]
Passing --full flag will display additional information about each command.
Displaying Version
To display the version of Moonbase SDK Generator, run:
moonbase --version
License
This project is licensed under the MIT License - see the LICENSE file for details.