This repository has been archived by the owner on Sep 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Command Line Document
py8765 edited this page Oct 24, 2012
·
20 revisions
Pomelo includes various shell-like commands that help developers to build applications more convenient and more efficient. These commands support most of the normal program operations like creating project, starting application, debugging application, stopping application, killing application, etc.
Use npm(node package manage tool) install pomelo and command line tool globally。
$:npm install pomelo -g
- init: creates a new project that contains basic files with which can build pomelo-based applications.
- start: launches the application and servers and it allows appending various parameters like –debug, --trace, --profile, --daemon to start the application in different mode.
- list: lists the information of all servers that the application is running on, including server id, server type, pid, cpu, memory, and lanuch time.
- stop: stops the application in all servers, unlike the kill command it terminal the program safely and gracefully.
- kill: kills the application immediately, it may lead to bad influences like data loss, so we do not recommend using this command.
- version: lists the current version of Pomelo.