-
Notifications
You must be signed in to change notification settings - Fork 0
Client Documentation
This project comes with a sample CLI client to interact with the web service. The following is a list of commands to give to the client:
Lists all published generator names and descriptions.
View the details of a specific generator. Details include name, description, and properties the user needs to set to use the generator.
Publish a GitHub repository to the service as a new generator. If a generator already exists with this name, it will be overwritten.
Run a generator with the specified parameters/properties, e.g. a file path to be uploaded. While the generator is running, the client will block further commands until the process is complete. The user may cancel generation using the Q key.
You can also add the following options onto any client command:
The output directory for generated files. Defaults to the directory the client was run from.
A host URL for the client to contact. Defaults to http://localhost:8080/service/.
Change the rate (in milliseconds) the client should poll the service for updates on running generation tasks. Defaults to 500ms.
Automatically unzip the files from a completed job. Defaults to false.