1.4.8 • Published 5 months ago

@m-backend/cli v1.4.8

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

This library was generated with Nx.

Cli for M backend projects

This project is a lightweight CLI mainly for generating & compiling M Backend Core projects

How to use

Installation

Install the cli via npm with the following instructions:

npm i -g @m-backend/cli

Note: We highly recommend installing the CLI globally in order to use it as it should be (especially for project generation).

Usage

In order to execute anything, prefix the command with the keywords m-cli

Each command has its alternatives, feel free to use one of the possible alternatives for each command.

CommandArgumentsOptionsDefault ValuePossible valuesDescription
g, generate{PROJECT_NAME}--demoGenerates a project
r, run----Custom webpack configuration
//--c, --configdebugproduction, dev or debugConfig environment webpack
//--e, --entry./src/main.ts-Define the entry point
//--o, --outdist-Defines the build output
v, version----Give the version of the Cli
ws, win-svc{SERVICE_NAME} {PATH}--demo, C:\DevConvert a nodejs app to windows service (lib)
//--i, --installinstall-Install windows service
//--u, --uninstalluninstall-Uninstall windows service
//---max-old-space-size-1536Define the max old space size

Examples

Generating a new project

m-cli g <YOUR_PROJECT_NAME> or m-cli generate <YOUR_PROJECT_NAME>

Compiling a project in debug mode

m-cli run or m-cli run --config={env}

Convert a project to Windows service

Install
m-cli ws <PROJECT_NAME> <PATH> -i or m-cli win-svc demo C:\folders\ --install
Uninstall
m-cli ws <PROJECT_NAME> <PATH> -u or m-cli win-svc demo C:\folders\ --uninstall
1.4.8

5 months ago

1.4.6

6 months ago

1.4.5

6 months ago

1.4.4

6 months ago

1.4.3

6 months ago

1.4.2

6 months ago

1.4.7

6 months ago

1.4.1

11 months ago

1.4.0

1 year ago

1.3.0-4

1 year ago

1.3.0-3

1 year ago

1.3.0-2

1 year ago

1.3.0-1

1 year ago

1.3.0-5

1 year ago

1.3.8

1 year ago

1.3.7

1 year ago

1.3.6

1 year ago

1.3.5

1 year ago

1.3.4

1 year ago

1.3.3

1 year ago

1.3.2

1 year ago

1.3.1

1 year ago

1.3.0

1 year ago

1.2.1-0.5

1 year ago

1.2.1-0.6

1 year ago

1.2.1-0.3

1 year ago

1.2.1-0.4

1 year ago

1.2.1-0.1

1 year ago

1.2.1-0.2

1 year ago

1.2.8

2 years ago

1.2.7

2 years ago

1.2.6

2 years ago

1.2.10

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.0

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.1.1

2 years ago

1.1.9

2 years ago

1.1.8

2 years ago

1.1.7

2 years ago

1.1.6

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.12

2 years ago

1.1.11

2 years ago

1.1.10

2 years ago

1.1.16

2 years ago

1.1.15

2 years ago

1.1.14

2 years ago

1.1.13

2 years ago

1.1.19

2 years ago

1.1.18

2 years ago

1.1.17

2 years ago

1.1.20

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago