Skip to content

ricdotnet/cli

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oclif Version Downloads/week License

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.5 darwin-arm64 node-v16.0.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 commands

list all the commands

USAGE
  $ envuso commands

OPTIONS
  -h, --help              show CLI help
  -j, --json              display unfiltered api data in json format
  -x, --extended          show extra columns
  --columns=columns       only show provided columns (comma-separated)
  --csv                   output is csv format [alias: --output=csv]
  --filter=filter         filter property by partial string matching, ex: name=foo
  --hidden                show hidden commands
  --no-header             hide table header from output
  --no-truncate           do not truncate output to fit screen
  --output=csv|json|yaml  output in a more machine friendly format
  --sort=sort             property to sort by (prepend '-' for descending)

See code: @oclif/plugin-commands

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: src/commands/generate-app-key.ts

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 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
  -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: src/commands/make/controller.ts

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
  -h, --help  show CLI help

EXAMPLE
  $ envuso make:middleware User

See code: src/commands/make/middleware.ts

envuso make:model NAME

Create a middleware

USAGE
  $ envuso make:model NAME

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

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ envuso make:middleware User

See code: src/commands/make/model.ts

envuso new

Create a new project

USAGE
  $ envuso new

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ envuso new

See code: src/commands/new.ts

About

A cli tool to help you get a project created and generate controllers, middleware and models

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 99.1%
  • Other 0.9%