0.5.16 • Published 7 years ago

most-web-cli v0.5.16

Weekly downloads
1
License
-
Repository
github
Last release
7 years ago

most-web-cli

MOST Web Framework Logo

A command line utility for Most Web Framework applications.

Usage

Generate a new MOST Web Framework application
most -o generate
Start a lite application server for static content
most -o lite [-r <directory>] [-b <address>] [-p <port>] [-c]

Options

-r directory : The directory which contains the files to be served. This parameter is optional. The default value is the current directory.

-b address: The IP address to be bind. This parameter is optional. The default value is 0.0.0.0.

-p port: The port to be used for listening HTTP requests. This parameter is optional. The default value is 3000.

-c: An optional parameter which enables HTTP request caching. The default value is false.

Migrate a data model
most -o migrate -m <data model name>
Import data from a JSON file
most -o import -m <data model name> -i <data file path>
Create an new data controller
most -o controller-class -n <controller name>

This operation will generate a new controller and it will place it in controllers folder (app/controllers).

Create an new base controller
most -o base-controller-class -n <controller name>

This operation will generate a new base controller and it will place it in controllers folder (app/controllers).

Create an new model class
most -o model-class -n <model name>

This operation will generate a new model and it will place it in models folder (app/models).

Create an new model listener
most -o model-listener -n <listener name>

This operation will generate a new model listener and it will place it in controllers folder (app/controllers).

0.5.16

7 years ago

0.5.15

8 years ago

0.5.14

8 years ago

0.5.13

8 years ago

0.5.12

8 years ago

0.5.11

8 years ago

0.5.10

8 years ago

0.5.9

8 years ago

0.5.7

8 years ago

0.5.6

9 years ago

0.5.5

9 years ago

0.5.4

9 years ago

0.5.3

9 years ago

0.5.2

9 years ago

0.5.1

9 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.0

10 years ago