Skip to content

Commit

Permalink
Merge pull request #234 from stateful/skipPrompts
Browse files Browse the repository at this point in the history
added skipprompt to configuration page
  • Loading branch information
edeediong authored Oct 26, 2023
2 parents 79d1d0f + 3e87413 commit a715e01
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ In most cases, you probably want to set the current working directory at the doc
```sh { cwd=.. }
npm run watch #relative path
```
```sh { cwd=/tmp }
echo "absolute path" > dummy_file
```
Expand Down Expand Up @@ -215,7 +215,7 @@ If you have multiple workflows in a single markdown file you can categorize them
```sh { category=build }
# Do something here
```
```sh { category=build,deployment }
# Do something here
```
Expand All @@ -234,6 +234,7 @@ Frontmatter in yaml, json, or toml on top of markdown document.
| ------------- | ----------------------------------------- | ------------------------- |
| cwd | Overwrites the default working directory | [markdown file's basedir] |
| shell | Overwrites shell with custom preference | [system/user default] |
| skipPrompts | Bypasses interactive prompts | [system/user default] |
### Cell Options
Expand All @@ -252,6 +253,13 @@ Metadata inside markdown's fenced code blocks.
| name | Cell’s canonical name useful for referencing the cell via CLI | auto-generated |
| terminalRows | Number of rows to display in the notebook terminal | auto-set |
| promptEnv | Prompt user to set exported environment vars | true |
| skipPrompts | Bypasses interactive [prompts](/configuration#cell-options) that require inputting environment vars or authentication confirmations. |false |
<Infobox type="sidenote" title="SkipPrompts">
This feature can be used to prevent [prompting](/configuration#document-options) when exporting an environment variable. By configuring the [cell options](/configuration#cell-options) appropriately, you can streamline your workflow and make your environment setup more efficient.
</Infobox>
### Supported MIME types
Expand Down

1 comment on commit a715e01

@vercel
Copy link

@vercel vercel bot commented on a715e01 Oct 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.