Closed avahahn closed 3 months ago
This MR addresses #1280 and #1279 by providing a subcommand unitctl app that provides two options:
unitctl app
unitctl app list: returns a list of running applications
unitctl app list
$ unitctl app list -t json-pretty { "wasm": { "type": "wasm-wasi-component", "component": "/www/wasmapp-proxy-component.wasm" } }
unitctl app <NAME> reload: reloads an application by name
unitctl app <NAME> reload
$ unitctl app reload wasm -t json-pretty { "success": "Ok" }
This MR also adds missing wasm and wasi application schemas to the OpenAPI spec.
This MR addresses #1280 and #1279 by providing a subcommand
unitctl app
that provides two options:unitctl app list
: returns a list of running applicationsunitctl app <NAME> reload
: reloads an application by nameThis MR also adds missing wasm and wasi application schemas to the OpenAPI spec.