grizzly_api_cli

1.0.130 • Public • Published

Grizzly CLI is a highly scalable tool that enables you to create and manage your microservices in few steps and Build and Design your API using Swagger and OpenAPI format to match universal standards.

Installation

$ npm i grizzly_api_cli -g

Usage

To use grizzly cli , you should have an apikey which you use to connect with the command :
$ grizzly config --apikey YourKey You have 2 modes of use :

  • Interactive mode with the command grizzly
  • Inline mode

Inline mode commands :

Manage Micorservices :

  • create microservice : to create microservice with a free MangoDB database :   $ grizzly create microservice --name MicroserviceName   options :   --datasource datasourceName : if you have already a datasource   --database databaseName : to specify the data base  

  • delete microservice : $ grizzly delete microservice --microservice MicroserviceName

  • show microservices : to show all your microservices : $ grizzly show microservices

Manage Endpoints :

  • add endpoint : $ grizzly add endpoint --name microserviceName --path endpointName --methode HTTPMethod

options :

  • For parameters : --headers variable1:type=defaultValue variable2:type=defaultValue --formDatas variable1:type=defaultValue variable2:type=defaultValue --queries variable1:type=defaultValue variable2:type=defaultValue
  • For PUT and POST methods : --request type : to specify if it is an Insert or Update

--number MANY/ONE : to specify the number of elements to return

  • delete endpoint : $ grizzly delete endpoint --name microserviceName --ressourceGroup endpointGroup --v version --endpoint endpointName

Dependents (0)

Package Sidebar

Install

npm i grizzly_api_cli

Weekly Downloads

5

Version

1.0.130

License

ISC

Unpacked Size

264 kB

Total Files

29

Last publish

Collaborators

  • aymentoukebri