https://github.com/alex-slynko/demoshell
Simple programm to execute scripts line by line
https://github.com/alex-slynko/demoshell
demonstration shell
Last synced: 5 months ago
JSON representation
Simple programm to execute scripts line by line
- Host: GitHub
- URL: https://github.com/alex-slynko/demoshell
- Owner: alex-slynko
- License: mit
- Created: 2018-04-18T11:37:20.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2025-11-21T14:01:55.000Z (7 months ago)
- Last Synced: 2025-11-21T14:23:02.315Z (7 months ago)
- Topics: demonstration, shell
- Language: Go
- Homepage:
- Size: 228 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# demoshell
Tool for live presentations.
Executes scripts line by line.

## Install
go get -u github.com/alex-slynko/demoshell
or clone and run go install
## Usage
```bash
demoshell some-sh-file
```
It runs the script line by line.
## Differences from doitlive
Demoshell inspired by [doitlive programm](https://doitlive.readthedocs.io/en/stable/). It supports some of the tags provided by that application.
Unlike the doitlive demoshell:
- Prints the whole line at a time and executes the line by enter. It does not requires fake typing.
- It saves the environment variables from the result of the command and passes them through to the next command.
- It launches real bash session only.
- It prints comments as well.
## TODO
- Do not run multiple commands if enter is pressed multiple times