1.0.1 • Published 2 years ago

@qpress/cli v1.0.1

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

Quick Express CLI

Overview

This package is an add-on to @qpress/core and allows for easy creation of qpress applications and assets. For the latest documentation, please refer to https://qpress-documentation.netlify.app/.

Installation

npm install -g @qpress/cli

Usage

Creating a New Application

To create a new application, open a terminal in the project directory and use the following command:

qpress new <<Application Name>> -m

This command will generate a new application with the given name. If a minimal application without sample data is needed, add the -m flag to the command.

Generating an Asset

To generate an asset, open a terminal in the desired directory and run the following command:

qpress g <<type>> <<name>>

This command will generate an asset in the given path. The available types are:

  • To generate a module: m or module (modules will be generated inside a folder named after the module automatically)
  • To generate a controller: c or controller
  • To generate a provider: p or provider
  • To generate a middleware: middleware

Generated assets will be automatically imported into the app module.

Running QPress Development Server

To run the QPress development server, open a terminal inside the project folder and run the following command:

qpress serve

This command will start the dev server with auto-reload.

Building QPress Server

To build the QPress server, open a terminal inside the project folder and run the following command:

qpress build

This command will compile and minify the QPress server.

1.0.1

2 years ago

0.1.5

2 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.0.6

5 years ago

0.0.4

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago