Skip to content

floridoo/cli-presenter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CLI presenter

A small tool to produce demos on the command line. Works best in combination with asciinema, which records the terminal output.

IMPORTANT: This is mostly for my own use, so don't expect any support. Feel free to use it at your own risk. Pull Requests are welcome.

Presentation file format

Description, will be output to terminal

! this is a description

Pause for 1 second

sleep 1

A command to be executed

$ execute me

Comments, will not be executed:

# this is a comment

Example

# save this in presentation.txt

! Welcome to this example presentation. 
sleep 1
! This is how you can list the current directory's files:
$ ls -la

Build

go build -o cli-presenter main.go

Run presentation:

./cli-presenter presentation.txt

Record presentation

asciinema rec -c "./cli-presenter presentation.txt"

About

Simple tool for command line demos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages