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

@noreajs/cli

v0.1.1

Published

Norea.js command lines for components and applications creation

Downloads

3

Readme

@noreajs/cli

Norea.js command lines for components and applications creation

oclif Version Downloads/week License

Usage

$ npm install -g @noreajs/cli
$ norea COMMAND
running command...
$ norea (-v|--version|version)
@noreajs/cli/0.1.1 win32-x64 node-v16.9.1
$ norea --help [COMMAND]
USAGE
  $ norea COMMAND
...
$ npm install -g @noreajs/cli
$ norea COMMAND
running command...
$ norea (-v|--version|version)
@noreajs/cli/0.0.1 win32-x64 node-v12.16.2
$ norea --help [COMMAND]
USAGE
  $ norea COMMAND
...

Commands

norea autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ norea autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

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

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

See code: @oclif/plugin-autocomplete

norea hello

describe the command here

USAGE
  $ norea hello

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ norea hello

See code: src\commands\hello.ts

norea help [COMMAND]

display help for norea

USAGE
  $ norea help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

norea make:controller NAME

create a new controller

USAGE
  $ norea make:controller NAME

ARGUMENTS
  NAME  controller name

OPTIONS
  -h, --help                       show CLI help
  -n, --noActions                  not include controller actions (index, edit, show, delete, create)
  -s, --separate                   separate the model's interface
  --middleware                     include a middleware, generate if not exist.
  --middlewareName=middlewareName  include a middleware with the given name, generate if not exist.
  --model                          include a model, generate if not exist.
  --modelName=modelName            include a model with the given name, generate if not exist.
  --provider                       include a provider, generate if not exist.
  --providerName=providerName      include a provider with the given name, generate if not exist.

See code: src\commands\make\controller.ts

norea make:interface INTERFACENAME

create a new interface

USAGE
  $ norea make:interface INTERFACENAME

ARGUMENTS
  INTERFACENAME  interface name

OPTIONS
  -h, --help        show CLI help
  -s, --softDelete  add deletedAt attribute in the model's interface
  -t, --timestamps  add createdAt and updatedAt attributes in the model's interface

See code: src\commands\make\interface.ts

norea make:middleware MIDDLEWARENAME

create a middleware

USAGE
  $ norea make:middleware MIDDLEWARENAME

ARGUMENTS
  MIDDLEWARENAME  middleware name

OPTIONS
  -h, --help  show CLI help

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

norea make:model MODELNAME

create a new model

USAGE
  $ norea make:model MODELNAME

ARGUMENTS
  MODELNAME  model name

OPTIONS
  -S, --softDelete  add deletedAt attribute in the model's interface
  -h, --help        show CLI help
  -s, --separate    separate the model's interface
  -t, --timestamps  add createdAt and updatedAt attributes in the model's interface

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

norea make:provider PROVIDERNAME

create a new provider

USAGE
  $ norea make:provider PROVIDERNAME

ARGUMENTS
  PROVIDERNAME  provider name

OPTIONS
  -h, --help  show CLI help

See code: src\commands\make\provider.ts

norea make:route ROUTENAME

create a route file

USAGE
  $ norea make:route ROUTENAME

ARGUMENTS
  ROUTENAME  route name

OPTIONS
  -h, --help  show CLI help

See code: src\commands\make\route.ts

norea new APPNAME

create a new norea.js application (API)

USAGE
  $ norea new APPNAME

ARGUMENTS
  APPNAME  application name

OPTIONS
  -d, --dbStrategy=mongoose|sequelize   [default: mongoose] mongoose for MongoDB database and sequelize ORM for
                                        Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server database

  -f, --force

  -h, --help                            show CLI help

  -p, --package=npm|yarn                [default: npm] package manager to use

  -t, --template=typescript|javascript  [default: typescript] project template

  -v, --version=version                 Release version (ex: v1.0.1)

See code: src\commands\new.ts

norea plugins

list installed plugins

USAGE
  $ norea plugins

OPTIONS
  --core  show core plugins

EXAMPLE
  $ norea plugins

See code: @oclif/plugin-plugins

norea plugins:install PLUGIN...

installs a plugin into the CLI

USAGE
  $ norea plugins:install PLUGIN...

ARGUMENTS
  PLUGIN  plugin to install

OPTIONS
  -f, --force    yarn install with force flag
  -h, --help     show CLI help
  -v, --verbose

DESCRIPTION
  Can be installed from npm or a git url.

  Installation of a user-installed plugin will override a core plugin.

  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command 
  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in 
  the CLI without the need to patch and update the whole CLI.

ALIASES
  $ norea plugins:add

EXAMPLES
  $ norea plugins:install myplugin 
  $ norea plugins:install https://github.com/someuser/someplugin
  $ norea plugins:install someuser/someplugin

See code: @oclif/plugin-plugins

norea plugins:link PLUGIN

links a plugin into the CLI for development

USAGE
  $ norea plugins:link PLUGIN

ARGUMENTS
  PATH  [default: .] path to plugin

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

DESCRIPTION
  Installation of a linked plugin will override a user-installed or core plugin.

  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' 
  command will override the user-installed or core plugin implementation. This is useful for development work.

EXAMPLE
  $ norea plugins:link myplugin

See code: @oclif/plugin-plugins

norea plugins:uninstall PLUGIN...

removes a plugin from the CLI

USAGE
  $ norea plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

ALIASES
  $ norea plugins:unlink
  $ norea plugins:remove

See code: @oclif/plugin-plugins

norea plugins:update

update installed plugins

USAGE
  $ norea plugins:update

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

See code: @oclif/plugin-plugins

norea start

start application

USAGE
  $ norea start

OPTIONS
  -d, --development                       development environnement
  -e, --env=local|production|development  application environnement
  -h, --help                              show CLI help
  -l, --local                             local environnement
  -p, --production                        production environnement
  --port=port                             application port

See code: src\commands\start.ts

norea update [CHANNEL]

update the norea CLI

USAGE
  $ norea update [CHANNEL]

See code: @oclif/plugin-update

norea autocomplete [SHELL]

display autocomplete installation instructions

USAGE
  $ norea autocomplete [SHELL]

ARGUMENTS
  SHELL  shell type

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

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

See code: @oclif/plugin-autocomplete

norea hello

describe the command here

USAGE
  $ norea hello

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ norea hello

See code: src\commands\hello.ts

norea help [COMMAND]

display help for norea

USAGE
  $ norea help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

norea make:controller NAME

create a new controller

USAGE
  $ norea make:controller NAME

ARGUMENTS
  NAME  controller name

OPTIONS
  -h, --help                       show CLI help
  -n, --noActions                  not include controller actions (index, edit, show, delete, create)
  -s, --separate                   separate the model's interface
  --middleware                     include a middleware, generate if not exist.
  --middlewareName=middlewareName  include a middleware with the given name, generate if not exist.
  --model                          include a model, generate if not exist.
  --modelName=modelName            include a model with the given name, generate if not exist.
  --provider                       include a provider, generate if not exist.
  --providerName=providerName      include a provider with the given name, generate if not exist.

See code: src\commands\make\controller.ts

norea make:interface INTERFACENAME

create a new interface

USAGE
  $ norea make:interface INTERFACENAME

ARGUMENTS
  INTERFACENAME  interface name

OPTIONS
  -h, --help  show CLI help

See code: src\commands\make\interface.ts

norea make:middleware MIDDLEWARENAME

create a middleware

USAGE
  $ norea make:middleware MIDDLEWARENAME

ARGUMENTS
  MIDDLEWARENAME  middleware name

OPTIONS
  -h, --help  show CLI help

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

norea make:model MODELNAME

create a new model

USAGE
  $ norea make:model MODELNAME

ARGUMENTS
  MODELNAME  model name

OPTIONS
  -h, --help      show CLI help
  -s, --separate  separate the model's interface

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

norea make:provider PROVIDERNAME

create a new provider

USAGE
  $ norea make:provider PROVIDERNAME

ARGUMENTS
  PROVIDERNAME  provider name

OPTIONS
  -h, --help  show CLI help

See code: src\commands\make\provider.ts

norea make:route ROUTENAME

create a route file

USAGE
  $ norea make:route ROUTENAME

ARGUMENTS
  ROUTENAME  route name

OPTIONS
  -h, --help  show CLI help

See code: src\commands\make\route.ts

norea new APPNAME

create a new norea.js application (API)

USAGE
  $ norea new APPNAME

ARGUMENTS
  APPNAME  application name

OPTIONS
  -d, --dbStrategy=mongoose|sequelize   [default: mongoose] mongoose for MongoDB database and sequelize ORM for
                                        Postgres, MySQL, MariaDB, SQLite and Microsoft SQL Server database

  -f, --force

  -h, --help                            show CLI help

  -p, --package=npm|yarn                [default: npm] package manager to use

  -t, --template=typescript|javascript  [default: typescript] project template

See code: src\commands\new.ts

norea plugins

list installed plugins

USAGE
  $ norea plugins

OPTIONS
  --core  show core plugins

EXAMPLE
  $ norea plugins

See code: @oclif/plugin-plugins

norea plugins:install PLUGIN...

installs a plugin into the CLI

USAGE
  $ norea plugins:install PLUGIN...

ARGUMENTS
  PLUGIN  plugin to install

OPTIONS
  -f, --force    yarn install with force flag
  -h, --help     show CLI help
  -v, --verbose

DESCRIPTION
  Can be installed from npm or a git url.

  Installation of a user-installed plugin will override a core plugin.

  e.g. If you have a core plugin that has a 'hello' command, installing a user-installed plugin with a 'hello' command 
  will override the core plugin implementation. This is useful if a user needs to update core plugin functionality in 
  the CLI without the need to patch and update the whole CLI.

ALIASES
  $ norea plugins:add

EXAMPLES
  $ norea plugins:install myplugin 
  $ norea plugins:install https://github.com/someuser/someplugin
  $ norea plugins:install someuser/someplugin

See code: @oclif/plugin-plugins

norea plugins:link PLUGIN

links a plugin into the CLI for development

USAGE
  $ norea plugins:link PLUGIN

ARGUMENTS
  PATH  [default: .] path to plugin

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

DESCRIPTION
  Installation of a linked plugin will override a user-installed or core plugin.

  e.g. If you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' 
  command will override the user-installed or core plugin implementation. This is useful for development work.

EXAMPLE
  $ norea plugins:link myplugin

See code: @oclif/plugin-plugins

norea plugins:uninstall PLUGIN...

removes a plugin from the CLI

USAGE
  $ norea plugins:uninstall PLUGIN...

ARGUMENTS
  PLUGIN  plugin to uninstall

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

ALIASES
  $ norea plugins:unlink
  $ norea plugins:remove

See code: @oclif/plugin-plugins

norea plugins:update

update installed plugins

USAGE
  $ norea plugins:update

OPTIONS
  -h, --help     show CLI help
  -v, --verbose

See code: @oclif/plugin-plugins

norea start [FILE]

describe the command here

USAGE
  $ norea start [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

See code: src\commands\start.ts

norea update [CHANNEL]

update the norea CLI

USAGE
  $ norea update [CHANNEL]

See code: @oclif/plugin-update