/shell-runner-notebooks

Load, run, and edit shell scripts in a Notebook-like experience in VS Code

Primary LanguageTypeScriptMIT LicenseMIT

Shell Runner Notebooks

Parses scripts in popular shell languages and allows you to run the cells in the active terminal below.

  • Comment blocks get rendered as markdown.
  • Code blocks get rendered as code blocks.

Usage

Create a file whose filename ends with the following

  • PowerShell (*.Notebook.ps1)
  • Bash (*.Notebook.sh or *.Notebook.bash)
  • Zsh (*.Notebook.sh or *.Notebook.zsh)
  • Basically any POSIX shell (*.Notebook.sh)

Features

You can load, run, and edit scripts in a Notebook-like experience.

Gif of running scripts: PowerShell Notebooks

Gif of editing on the script side: edits go back

Requirements

The shell you want to run scripts of.