dhis2_init_webapp
Set up a new DHIS2 web application project with structured scaffolding by specifying app name, title, template, and optional features like TypeScript or PWA support.
Instructions
Initialize a new DHIS2 web application project with proper scaffolding
Input Schema
Name | Required | Description | Default |
---|---|---|---|
appDescription | No | Description of the application | |
appName | Yes | Name of the application (e.g., "my-health-app") | |
appTitle | Yes | Human-readable title of the application | |
appType | No | Type of DHIS2 application | |
namespace | No | App namespace (defaults to appName if not provided) | |
outputPath | No | Directory path where to create the app (default: current directory) | |
pwa | No | Enable Progressive Web App features | |
template | No | App template to use | |
typescript | No | Use TypeScript (default: true) |
Input Schema (JSON Schema)
{
"properties": {
"appDescription": {
"description": "Description of the application",
"type": "string"
},
"appName": {
"description": "Name of the application (e.g., \"my-health-app\")",
"type": "string"
},
"appTitle": {
"description": "Human-readable title of the application",
"type": "string"
},
"appType": {
"description": "Type of DHIS2 application",
"enum": [
"app",
"dashboard-plugin"
],
"type": "string"
},
"namespace": {
"description": "App namespace (defaults to appName if not provided)",
"type": "string"
},
"outputPath": {
"description": "Directory path where to create the app (default: current directory)",
"type": "string"
},
"pwa": {
"description": "Enable Progressive Web App features",
"type": "boolean"
},
"template": {
"description": "App template to use",
"enum": [
"basic",
"with-ui-library",
"with-analytics",
"tracker-capture"
],
"type": "string"
},
"typescript": {
"description": "Use TypeScript (default: true)",
"type": "boolean"
}
},
"required": [
"appName",
"appTitle"
],
"type": "object"
}