Skip to content

Commit 7f8fae6

Browse files
committed
add docs
1 parent 1205418 commit 7f8fae6

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

docs/docs/customwidgets.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ The `WidgetConfigType` takes the usual options common to all widgets. The `MetaT
109109
| "cmd:env" | (optional) A key-value object represting environment variables to be run with the command. Defaults to an empty object. |
110110
| "cmd:cwd" | (optional) A string representing the current working directory to be run with the command. Currently only works locally. Defaults to the home directory. |
111111
| "cmd:nowsh" | (optional) A boolean that will turn off wsh integration for the command. Defaults to false. |
112+
| "cmd:jwt" | (optional) A boolean that forces adding JWT token to the environment. Required for running waveapps as widgets (both local and remote). Defaults to false. |
112113
| "term:localshellpath" | (optional) Sets the shell used for running your widget command. Only works locally. If left blank, wave will determine your system default instead. |
113114
| "term:localshellopts" | (optional) Sets the shell options meant to be used with `"term:localshellpath"`. This is useful if you are using a nonstandard shell and need to provide a specific option that we do not cover. Only works locally. Defaults to an empty string. |
114115
| "cmd:initscript" | (optional) for "shell" controller only. an init script to run before starting the shell (can be an inline script or an absolute local file path) |

0 commit comments

Comments
 (0)