Updated module tool
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
The GetiyoModuleTool (or GMT in short) is the development tool for Getiyo. It can create development environments, build/install modules and publish them to the [ModuleStore](./ModuleStore). GMT has four modes which are described below.
|
The GetiyoModuleTool (or GMT in short) is the development tool for Getiyo. It can create development environments, build/install modules and publish them to the [ModuleStore](./ModuleStore). GMT has four modes which are described below.
|
||||||
|
|
||||||
## gmt `build`
|
## `build`
|
||||||
|
|
||||||
Build a module to the `.dist` directory.
|
Build a module to the `.dist` directory.
|
||||||
|Argument|Description|
|
|Argument|Description|
|
||||||
@@ -10,22 +10,23 @@ Build a module to the `.dist` directory.
|
|||||||
--output-server|Output the build to your local server. Requires ip & port to be set (See [set](./GetiyoModuleTool#set-gmt-set-property-value))
|
--output-server|Output the build to your local server. Requires ip & port to be set (See [set](./GetiyoModuleTool#set-gmt-set-property-value))
|
||||||
--stop-server|Restart the server when the build is finished. Requires development mode to be turned on in the [config](./Config).
|
--stop-server|Restart the server when the build is finished. Requires development mode to be turned on in the [config](./Config).
|
||||||
|
|
||||||
## gmt `create`
|
## `create`
|
||||||
|
|
||||||
Create a new development environment. GMT will ask some questions to generate the wanted environment settings.
|
Create a new development environment. GMT will ask some questions to generate the wanted environment settings.
|
||||||
|
|
||||||
## gmt `install`
|
## `install`
|
||||||
|
|
||||||
Install the current build in .dist to your local server.
|
Install the current build in .dist to your local server.
|
||||||
|
|
||||||
## gmt `publish`
|
## `publish`
|
||||||
|
|
||||||
Publish the latest build to the [ModuleStore](./ModuleStore).
|
Publish the latest build to the [ModuleStore](./ModuleStore).
|
||||||
|
|
||||||
## gmt `set <property> <value`
|
## `set <property> <value`
|
||||||
|
|
||||||
Update a GMT settings.
|
Update a GMT settings.
|
||||||
|Property|Description|
|
| Property | Description |
|
||||||
|ip|Local server ip address.
|
| - | - |
|
||||||
|port|Local server port.
|
| ip | Local server ip address.
|
||||||
|publishkey|Publish key for the module store.
|
| port | Local server port.
|
||||||
|
| publishkey | Publish key for the module store.
|
||||||
|
|||||||
Reference in New Issue
Block a user