Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/themost-framework/cli
CLI Tool for MOST Web Framework
https://github.com/themost-framework/cli
Last synced: about 7 hours ago
JSON representation
CLI Tool for MOST Web Framework
- Host: GitHub
- URL: https://github.com/themost-framework/cli
- Owner: themost-framework
- License: bsd-3-clause
- Created: 2022-07-09T06:44:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-04-03T10:37:15.000Z (over 1 year ago)
- Last Synced: 2024-09-23T20:07:40.452Z (about 2 months ago)
- Language: JavaScript
- Size: 872 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## @themost/cli
![MOST Web Framework Logo](https://github.com/themost-framework/common/raw/master/docs/img/themost_framework_v3_128.png)
A command line utility for [Most Web Framework](https://github.com/themost-framework/) applications.
### Generate a new MOST Web Framework application
themost new project [--template ] [--typescript]
Note: Use --typescript flag if you want to generate a typescript project.
This operation will create a new MOST Web Framework application. Execute:cd && npm i
to install dependencies.### Import data
themost import --model [--dev]
### Query dataApplies the specified OData query options against the defined data model and prints the result
themost cat --model [--dev]
[--filter=]
[--select=]
[--top=]
[--skip=]
[--count=]
[--order=]
[--group=]
[--expand=]### User modeler
Use modeler commands to manage data models:
themost modeler
### List data models
themost modeler ls
Enumerates all the available data models
### Get data model details
themost modeler info
Prints information about the given data model e.g.
themost modeler info UpdateAction
### Extract a data model
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](https://schema.org)### Create an new controller
themost generate controller
This operation will generate a new controller and it will place it in controllers folder (server/controllers).
### Create an new modelthemost generate model
This operation will generate a new model and it will place it in models definition folder (server/config/models).
### Create an new model class
themost generate class
This operation will generate a new model class and it will place it in models folder (server/models).
### Create an new model listener
themost generate listener
This operation will generate a new model listener and it will place it in listeners folder (server/listeners).
### Create an new application service
themost generate service
This operation will generate a new application service and it will place it in services folder (server/services).