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 } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/yomo.ts" license = "MIT" [[commands.subcommand]] path = ["init"] label = "Initialize example function" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/yomo.ts" license = "MIT" [[commands.subcommand.field]] id = "name" label = "Function name" type = "string" position = 0 min = 1 sources = ["fig"] [[commands.subcommand.field]] id = "rx" label = "Rx code template" type = "boolean" option = ["--rx"] sources = ["fig"] [[commands.subcommand.task]] id = "init" label = "Initialize" fields = ["name", "rx"] required = ["name"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["name", "rx"] [[commands.subcommand]] path = ["build"] label = "Build to WebAssembly" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/yomo.ts" license = "MIT" [[commands.subcommand.field]] id = "gofile" label = "Go file" type = "path" position = 0 min = 1 path = { kind = "file", role = "input", must_exist = true } sources = ["fig"] [[commands.subcommand.field]] id = "modfile" label = "go.mod file" type = "path" option = ["-m", "--modfile"] path = { kind = "file", role = "input", must_exist = true } sources = ["fig"] [[commands.subcommand.task]] id = "build" label = "Build" fields = ["gofile", "modfile"] required = ["gofile"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["gofile", "modfile"] [[commands.subcommand]] path = ["run"] label = "Run a wasm function" [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/yomo.ts" license = "MIT" [[commands.subcommand.field]] id = "wasm" label = "Wasm file" type = "path" position = 0 min = 1 path = { kind = "file", role = "input", must_exist = true } sources = ["fig"] [[commands.subcommand.task]] id = "run" label = "Run" fields = ["wasm"] required = ["wasm"] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["wasm"]