2.3.2 • Published 3 years ago

@ps-cli/express v2.3.2

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

Express Logo

Express' application generator for Pheadera Solution based on on lib express-generator.

NPM Version NPM Downloads Linux Build Windows Build

Installation

$ npm install -g @ps-cli/express

Quick Start

The quickest way to get started with express is to utilize the executable express(1) to generate an application as shown below:

Create the app:

$ ps-express new <name>

or

$ pse new <name>

Options

Usage: ps-express new [options] <name>

Generates a new project

Options:
  -i, --install  intsall all dependantcies
  -g, --git      initialize git
  -h, --help     Help in options

Install dependencies:

$ npm install

Start your Express.js app at http://localhost:3000/:

$ npm start

Adding a route:

$ pse genrate route <name>

or

$ pse g r <name>

Adding a service

$ pse genrate service <name>

or

$ pse g s <name>

Options:

Generate

Usage: ps-express generate|g [options] [command]

Options:
  -h, --help                Get the help info

Commands:
  route|r [options] <name>  Generate a route
  service|s <name>          Generate a service
  help [command]            display help for command

Route

Usage: ps-express generate route|r [options] <name>

Generate a route

Options:
  -c, --crud  Generates CRUDS as well
  -h, --help  Help in options

Service

Usage: ps-express generate service|s [options] <name>

Generate a service

Options:
  -h, --help  Help in options

Command Line Options

This generator can also be further configured with the following command line flags.

Usage: ps-express [options] [command]

Gives the verison of CLI

Options:
  -v, --version         Version
  -h, --help            Get the help info

Commands:
  new [options] <name>  Generates a new project
  generate|g

License

MIT

2.3.2

3 years ago

2.3.1

3 years ago

2.3.0

3 years ago

2.2.0

3 years ago

2.1.8

3 years ago

2.1.7

3 years ago

2.1.6

3 years ago

2.1.5

3 years ago

2.1.4

3 years ago

2.1.3

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.3

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago