0.1.31 • Published 2 years ago

@envuso/cli v0.1.31

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Envuso CLI

Envuso CLI, make a project, generate framework files etc

Usage

$ npm install -g @envuso/cli
$ envuso COMMAND
running command...
$ envuso (-v|--version|version)
@envuso/cli/0.1.31 darwin-arm64 node-v16.6.0
$ envuso --help [COMMAND]
USAGE
  $ envuso COMMAND
...

Commands

envuso autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ envuso autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

OPTIONS
  -r, --refresh-cache  Refresh cache (ignores displaying instructions)

EXAMPLES
  $ envuso autocomplete
  $ envuso autocomplete bash
  $ envuso autocomplete zsh
  $ envuso autocomplete --refresh-cache

See code: @oclif/plugin-autocomplete

envuso build

Build envuso

USAGE
  $ envuso build

OPTIONS
  -h, --help   show CLI help
  -w, --watch  Runs the compiler in watch mode. Any changes will trigger a re-build.

EXAMPLES
  $ envuso build
  $ envuso build --watch

See code: lib/commands/build/index.js

envuso db:reset

Reset your database

USAGE
  $ envuso db:reset

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ envuso db:reset

See code: lib/commands/db/reset.js

envuso db:reset-collection NAME

Reset a collection in your database

USAGE
  $ envuso db:reset-collection NAME

ARGUMENTS
  NAME  The name of the collection you want to reset

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ envuso db:reset-collection users

See code: lib/commands/db/reset-collection.js

envuso db:seed

Run your database seeders

USAGE
  $ envuso db:seed

OPTIONS
  -h, --help  show CLI help
  --fresh     If specified, this will drop your collection before running the seeder.

EXAMPLES
  $ envuso db:seed
  $ envuso db:seed --fresh

See code: lib/commands/db/seed.js

envuso generate-app-key

Generate a new app encryption key

USAGE
  $ envuso generate-app-key

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ envuso generate-app-key

See code: lib/commands/generate-app-key.js

envuso help [COMMAND]

display help for envuso

USAGE
  $ envuso help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

envuso list

List all commands

USAGE
  $ envuso list

EXAMPLE
  $ envuso list

See code: lib/commands/list.js

envuso make:controller NAME

Create a controller

USAGE
  $ envuso make:controller NAME

ARGUMENTS
  NAME  Set a name for your controller(Does not need to contain "Controller" this will be automatically added.)

OPTIONS
  -f, --force        Force create the controller, even if it exists.
  -h, --help         show CLI help
  -m, --model=model  Create a resource controller using your model
  -r, --resource     Create a resource controller(Controller using GET, PUT, POST, PATCH, DELETE)

EXAMPLES
  $ envuso make:controller User
  $ envuso make:controller User --resource
  $ envuso make:controller User --resource --model=User

See code: lib/commands/make/controller.js

envuso make:dto NAME

Create a data transfer object

USAGE
  $ envuso make:dto NAME

ARGUMENTS
  NAME  Set a name for your dto(Does not need to contain "DataTransferObject" this will be automatically added.)

OPTIONS
  -f, --force  Force create the dto, even if it exists.
  -h, --help   show CLI help

EXAMPLE
  $ envuso make:dto LoginInformation

See code: lib/commands/make/dto.js

envuso make:middleware NAME

Create a middleware

USAGE
  $ envuso make:middleware NAME

ARGUMENTS
  NAME  Set a name for your middleware(Does not need to contain "Middleware" this will be automatically added.)

OPTIONS
  -f, --force  Force create the middleware, even if it exists.
  -h, --help   show CLI help

EXAMPLE
  $ envuso make:middleware User

See code: lib/commands/make/middleware.js

envuso make:model NAME

Create a model

USAGE
  $ envuso make:model NAME

ARGUMENTS
  NAME  Set a name for your model(Does not need to contain "Model" this will be automatically added.)

OPTIONS
  -f, --force  Force create the model, even if it exists.
  -h, --help   show CLI help

EXAMPLE
  $ envuso make:model User

See code: lib/commands/make/model.js

envuso make:policy NAME

Create a model policy

USAGE
  $ envuso make:policy NAME

ARGUMENTS
  NAME  Set a name for your model policy(Does not need to contain "Policy" this will be automatically added.)

OPTIONS
  -f, --force        Force create the model, even if it exists.
  -h, --help         show CLI help
  -m, --model=model  Define the model that this policy is for, the @policy decorator will be automatically added.

EXAMPLE
  $ envuso make:policy User

See code: lib/commands/make/policy.js

envuso make:resource NAME

Create an api resource

USAGE
  $ envuso make:resource NAME

ARGUMENTS
  NAME  Set a name for your api resource(Does not need to contain "Resource" this will be automatically added.)

OPTIONS
  -h, --help         show CLI help
  -m, --model=model  (required) Create an api resource using your model

EXAMPLE
  $ envuso make:resource User --model=User

See code: lib/commands/make/resource.js

envuso make:socket-channel-listener NAME

Create a socket channel

USAGE
  $ envuso make:socket-channel-listener NAME

ARGUMENTS
  NAME  Set a name for your socket channel

OPTIONS
  -f, --force  Force create, even if it exists.
  -h, --help   show CLI help

EXAMPLE
  $ envuso make:socket-channel-listener UserSocketChannel

See code: lib/commands/make/socket-channel-listener.js

envuso new

Create a new project

USAGE
  $ envuso new

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ envuso new

See code: lib/commands/new.js

0.1.30

2 years ago

0.1.31

2 years ago

0.1.29

2 years ago

0.1.28

2 years ago

0.1.10

2 years ago

0.1.11

2 years ago

0.1.12

2 years ago

0.1.13

2 years ago

0.1.14

2 years ago

0.1.15

2 years ago

0.1.27

2 years ago

0.1.20

2 years ago

0.1.21

2 years ago

0.1.22

2 years ago

0.1.23

2 years ago

0.1.24

2 years ago

0.1.25

2 years ago

0.1.26

2 years ago

0.1.16

2 years ago

0.1.8

2 years ago

0.1.17

2 years ago

0.1.18

2 years ago

0.1.19

2 years ago

0.1.9

2 years ago

0.1.7

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.3

3 years ago

0.1.5

3 years ago

0.1.2-alpha.8

3 years ago

0.1.0-alpha.0

3 years ago

0.1.2-alpha.1

3 years ago

0.0.41

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.4

3 years ago

0.0.1

3 years ago