1.0.2 • Published 9 months ago

@ibaraki-douji/api-cli v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
9 months ago

API CLI

A CLI for generating Ibaraki API.

⚠️ The CLI work only from version 2.0.0 of the API.

Getting started

npm i -g @ibaraki-douji/api-cli

Usage

  • ibaraki-api install [options]
  • ibaraki-api update [--version <version>]
  • ibaraki-api help
  • ibaraki-api demo

Options

OptionDescriptionDefaultValues
--interactiveEnable interactive mode (question for options)trueboolean
--versionSet the version of the APIlatesttag or x.x.x
--portSet the port of the API5055number
--defaultFoldersUse default folders for the APItrueboolean
--swaggerUse swagger UI in the APItrueboolean
--dotenvUse dotenv library to manage your env variablesfalseboolean
--websocketEnable websocket in the APIfalseboolean
--destFolderSet the destination folder for the compiled APIlibstring
--debugEnable debug mode for the APItrueboolean
--newFolderCreate the API in a sub folderfalseboolean

Examples

Fully interactive installation:
ibaraki-api install --interactive

Install the default API:
ibaraki-api install --interactive false

Install the demo API: (will wipe the content of your current folder)
ibaraki-api demo

Update the API to the latest version: (not implemented yet)
ibaraki-api update

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago

0.1.3

9 months ago

0.1.2

9 months ago

0.1.1

9 months ago

0.1.0

9 months ago