CLI Tool for MOST Web Framework
npm install @themost/cliA command line utility for Most Web Framework applications.
themost new project
Note: Use --typescript flag if you want to generate a typescript project.
This operation will create a new MOST Web Framework application. Execute:
cd
to install dependencies.
themost import --model [--dev]
$3
Applies the specified OData query options against the defined data model and prints the result
themost cat --model [--dev]
[--filter=
[--select=
Use modeler commands to manage data models:
themost modeler
themost modeler ls
Enumerates all the available data models
themost modeler info
Prints information about the given data model e.g.
themost modeler info UpdateAction
themost modeler extract
e.g.
themost modeler extract Article
Extract a data model definition and its dependencies. There is a large set of data model definitions
as they are defined and documented at schema.org
themost generate controller
This operation will generate a new controller and it will place it in controllers folder (server/controllers).
themost generate model
This operation will generate a new model and it will place it in models definition folder (server/config/models).
themost generate class
This operation will generate a new model class and it will place it in models folder (server/models).
themost generate listener
This operation will generate a new model listener and it will place it in listeners folder (server/listeners).
themost generate service
This operation will generate a new application service and it will place it in services folder (server/services).