0.6.1 • Published 3 years ago

@restlessness/cli v0.6.1

Weekly downloads
91
License
ISC
Repository
-
Last release
3 years ago

@restlessness/cli npm version

The CLI to manage restlessness projects.

Warning! This is still WIP!

Installation

npm

npm install -g @restlessness/cli

or use it with npx

npx @restlessness/cli <command>

Usage

Note that all following commands (except new) must be run from the root directory of a restlessness project

new

restlessness new [project name]

Create a project under project-name or inside the current working directory

Example:

$ restlessness new project-1 
$ # or
$ npx @restlessness/cli new project-2

dev

restlessness dev <environment name>

Run it inside a restlessness project to start the development servers:

  • restlessness frontend
  • restlessness backend
  • your restlessness project

Example:

$ restlessness dev locale

deploy

restlessness deploy [--env <environment name>] [service name]

Deploy serverless services using the specified environment (default staging). The command will deploy all project's services starting with the shared service, or only [service name] if provided.

Example:

$ restlessness deploy
$ # or
$ restlessness deploy --env production
$ # or
$ restlessness deploy --evn production my-service

remove

restlessness remove [--env <environment name>] [service name]

Remove serverless services using the specified environment (default staging). The command will remove all project's services, with the shared service as last one, or only [service name] if provided.

Example:

$ restlessness remove
$ # or
$ restlessness remove --env production
$ # or
$ restlessness remove --env production my-service

create-env

restlessness create-env <environment name>

Create a .env file under project root directory by copying and expanding the corresponding envs/.env.<env name> file

Example:

$ restlessness create-env staging

add-dao

restlessness add-dao <package name>

Add a dao package to the project

Example:

$ restlessness add-dao @restlessness/dao-mongo

add-auth

restlessness add-auth <package name>

Add an auth package to the project

Example:

$ restlessness add-auth @restlessness/auth-jwt
0.6.1

3 years ago

0.6.0

3 years ago

0.5.16

3 years ago

0.5.15

4 years ago

0.5.14

4 years ago

0.5.13

4 years ago

0.5.12

4 years ago

0.5.11

4 years ago

0.5.10

4 years ago

0.5.9

4 years ago

0.5.8

4 years ago

0.5.7

4 years ago

0.5.6

4 years ago

0.5.5

5 years ago

0.5.4

5 years ago

0.5.3

5 years ago

0.5.2

5 years ago

0.4.15

5 years ago

0.4.13

5 years ago

0.4.14

5 years ago

0.4.12

5 years ago

0.4.11

5 years ago

0.4.9

5 years ago

0.4.8

5 years ago

0.4.5

5 years ago

0.4.7

5 years ago

0.4.6

5 years ago

0.4.4

5 years ago

0.4.3

5 years ago

0.4.2

5 years ago

0.4.1

5 years ago

0.4.0

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.1

5 years ago

0.1.14

5 years ago

0.1.12

5 years ago

0.1.11

5 years ago

0.1.10

5 years ago

0.1.8

5 years ago

0.1.9

5 years ago

0.1.7

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago

0.0.20

5 years ago

0.0.19

5 years ago

0.0.17

5 years ago

0.0.18

5 years ago

0.0.16

5 years ago

0.0.15

5 years ago

0.0.11

5 years ago

0.0.12

5 years ago

0.0.13

5 years ago

0.0.14

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago