Updated module tool

2025-08-21 23:18:31 +02:00
parent 32997d584d
commit f94305f1d6

@@ -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.
## gmt `build`
## `build`
Build a module to the `.dist` directory.
|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))
--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.
## gmt `install`
## `install`
Install the current build in .dist to your local server.
## gmt `publish`
## `publish`
Publish the latest build to the [ModuleStore](./ModuleStore).
## gmt `set <property> <value`
## `set <property> <value`
Update a GMT settings.
|Property|Description|
|ip|Local server ip address.
|port|Local server port.
|publishkey|Publish key for the module store.
| Property | Description |
| - | - |
| ip | Local server ip address.
| port | Local server port.
| publishkey | Publish key for the module store.