API Builder CLI

This document will walk you through the process of how to create and initialize new projects using the API Builder CLI.

Setup

To install the API Builder CLI:

[sudo] npm install -g @axway/api-builder

Create a project

To create a new project:

api-builder init myproject

The CLI will create and initialize the ./myproject new project directory. 

CLI commands

Command Arguments Description
api-builder init <dir> dir - The directory to initialize. Creates and initializes a new API Builder project by creating the project in a directory specified by dir. The command will fail if the directory exists or if the command is run within an API Builder project directory.

Related Links