npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@envuso/cli

v0.1.31

Published

Envuso CLI, make a project, generate framework files etc

Downloads

49

Readme

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