{
  "version": "4.3.5",
  "commands": {
    "init": {
      "id": "init",
      "description": "Init a template of DApp on Senhub.",
      "strict": true,
      "pluginName": "create-senhub-app",
      "pluginAlias": "create-senhub-app",
      "pluginType": "core",
      "aliases": [],
      "examples": [
        "<%= config.bin %> <%= command.id %> my-dapp"
      ],
      "flags": {
        "template": {
          "name": "template",
          "type": "option",
          "char": "t",
          "description": "Template for the new DApp.",
          "multiple": false,
          "options": [
            "module",
            "embeded"
          ],
          "default": "module"
        },
        "force": {
          "name": "force",
          "type": "boolean",
          "char": "f",
          "description": "Overwrite existing directory. All files in the curent directory will be deleted.",
          "allowNo": false
        }
      },
      "args": {
        "project-name": {
          "name": "project-name",
          "description": "Your project name"
        }
      }
    },
    "manifest": {
      "id": "manifest",
      "description": "Generate the manifest file of the application, which is to submit your application to Sentre Hub.",
      "strict": true,
      "pluginName": "create-senhub-app",
      "pluginAlias": "create-senhub-app",
      "pluginType": "core",
      "aliases": [],
      "examples": [
        "<%= config.bin %> <%= command.id %>"
      ],
      "flags": {
        "inDir": {
          "name": "inDir",
          "type": "option",
          "char": "i",
          "description": "The directory to your project.",
          "multiple": false
        },
        "outDir": {
          "name": "outDir",
          "type": "option",
          "char": "o",
          "description": "The directory to output the manifest file.",
          "multiple": false
        }
      },
      "args": {
        "env": {
          "name": "env",
          "description": "The NODE_ENV to generate a corresponding manifest. Default: production.",
          "options": [
            "development",
            "production"
          ],
          "default": "production"
        }
      }
    },
    "publish": {
      "id": "publish",
      "description": "Publish your applications to Sentre Hub. The manifest file will be automatically generated with production mode.",
      "strict": true,
      "pluginName": "create-senhub-app",
      "pluginAlias": "create-senhub-app",
      "pluginType": "core",
      "aliases": [],
      "examples": [
        "<%= config.bin %> <%= command.id %>"
      ],
      "flags": {
        "directory": {
          "name": "directory",
          "type": "option",
          "char": "d",
          "description": "The directory to the manifest file. Default option will automatically search the manifest file in the current directory.",
          "multiple": false,
          "default": "/home/runner/work/sen-core/sen-core/packages/create-senhub-app/create-senhub-app.manifest.json"
        }
      },
      "args": {}
    }
  }
}