0.6.1 • Published 2 years ago

@restlessness/cli v0.6.1

Weekly downloads
91
License
ISC
Repository
-
Last release
2 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

2 years ago

0.6.0

2 years ago

0.5.16

2 years ago

0.5.15

3 years ago

0.5.14

3 years ago

0.5.13

3 years ago

0.5.12

3 years ago

0.5.11

3 years ago

0.5.10

3 years ago

0.5.9

3 years ago

0.5.8

4 years ago

0.5.7

4 years ago

0.5.6

4 years ago

0.5.5

4 years ago

0.5.4

4 years ago

0.5.3

4 years ago

0.5.2

4 years ago

0.4.15

4 years ago

0.4.13

4 years ago

0.4.14

4 years ago

0.4.12

4 years ago

0.4.11

4 years ago

0.4.9

4 years ago

0.4.8

4 years ago

0.4.5

4 years ago

0.4.7

4 years ago

0.4.6

4 years ago

0.4.4

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.4

4 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.1.14

4 years ago

0.1.12

4 years ago

0.1.11

4 years ago

0.1.10

4 years ago

0.1.8

4 years ago

0.1.9

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago

0.0.24

4 years ago

0.0.23

4 years ago

0.0.22

4 years ago

0.0.21

4 years ago

0.0.20

4 years ago

0.0.19

4 years ago

0.0.17

4 years ago

0.0.18

4 years ago

0.0.16

4 years ago

0.0.15

4 years ago

0.0.11

4 years ago

0.0.12

4 years ago

0.0.13

4 years ago

0.0.14

4 years ago

0.0.10

4 years ago

0.0.9

4 years ago

0.0.8

4 years ago

0.0.7

4 years ago

0.0.6

4 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago

0.0.0

4 years ago