1.8.0 • Published 2 years ago

@janiscommerce/cli v1.8.0

Weekly downloads
11
License
ISC
Repository
github
Last release
2 years ago

cli

Build Status Coverage Status npm version

A CLI application to improve JANIS development experience

Installation

npm install @janiscommerce/cli

Or to install it globally

npm install -g @janiscommerce/cli

Functionality

Each command will create and configure all the necessary files. Then they will be opened with your preferred editor.

Important Some properties cannot be generated automatically so they need to be adjusted manually.

Environment

This package, as all of the @janiscommerce ecosystem, is aware of the MS_PATH env variable. Remember to set it first in case you need it, for example: MS_PATH=src janis-cli create-api.

Usage

janis-cli <command> [...args]

Commands:
  janis-cli create-api-get         Create a new API Get
  janis-cli create-api-list        Create a new API List
  janis-cli create-api-post        Create a new API Post
  janis-cli create-api-put         Create a new API Put
  janis-cli create-api             Create a new API
  janis-cli create-crud            Create an entity CRUD operations
  janis-cli create-event-listener  Create a new Event Listener
  janis-cli create-function        Create a new Lambda Function

To get more information about command arguments, just run janis-cli <command> --help.

Every missing argument will be prompted in an interactive way.

Example

$ janis-cli create-api-get -s my-service

# The missing argument 'entity' will be prompted
1.8.0

2 years ago

1.7.3

3 years ago

1.7.2

3 years ago

1.7.1

3 years ago

1.7.0

3 years ago

1.6.0

4 years ago

1.5.0

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago