{
  "id": "yomo",
  "name": "yomo",
  "description": "Streaming serverless framework CLI.",
  "executables": [
    "yomo"
  ],
  "commands": {
    "format": 1,
    "label": "StreamFunction workflow",
    "description": "Initialize, build and run a StreamFunction.",
    "quality": "ai-draft",
    "base": "fig:yomo",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/yomo.ts",
        "license": "MIT"
      }
    ],
    "subcommand": [
      {
        "path": [
          "init"
        ],
        "label": "Initialize example function",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/yomo.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "name",
            "label": "Function name",
            "type": "string",
            "position": 0,
            "min": 1,
            "sources": [
              "fig"
            ]
          },
          {
            "id": "rx",
            "label": "Rx code template",
            "type": "boolean",
            "option": [
              "--rx"
            ],
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "init",
            "label": "Initialize",
            "fields": [
              "name",
              "rx"
            ],
            "required": [
              "name"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "name",
              "rx"
            ]
          }
        ]
      },
      {
        "path": [
          "build"
        ],
        "label": "Build to WebAssembly",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/yomo.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "gofile",
            "label": "Go file",
            "type": "path",
            "position": 0,
            "min": 1,
            "path": {
              "kind": "file",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          },
          {
            "id": "modfile",
            "label": "go.mod file",
            "type": "path",
            "option": [
              "-m",
              "--modfile"
            ],
            "path": {
              "kind": "file",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "build",
            "label": "Build",
            "fields": [
              "gofile",
              "modfile"
            ],
            "required": [
              "gofile"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "gofile",
              "modfile"
            ]
          }
        ]
      },
      {
        "path": [
          "run"
        ],
        "label": "Run a wasm function",
        "source": [
          {
            "id": "fig",
            "kind": "completion",
            "url": "https://github.com/withfig/autocomplete/blob/master/src/yomo.ts",
            "license": "MIT"
          }
        ],
        "field": [
          {
            "id": "wasm",
            "label": "Wasm file",
            "type": "path",
            "position": 0,
            "min": 1,
            "path": {
              "kind": "file",
              "role": "input",
              "must_exist": true
            },
            "sources": [
              "fig"
            ]
          }
        ],
        "task": [
          {
            "id": "run",
            "label": "Run",
            "fields": [
              "wasm"
            ],
            "required": [
              "wasm"
            ]
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "wasm"
            ]
          }
        ]
      }
    ]
  }
}
