jaem3l / cli-note
Tool to build CLI based presentation slide decks
0.1
2020-12-01 23:50 UTC
Requires
- php: ^7.4 || ^8.0
- ext-mbstring: *
- stoffel/console-canvas: ^0.1
- stoffel/console-sourcecode: ^0.1
- symfony/config: ^5.2
- symfony/console: ^5.2
- symfony/dependency-injection: ^5.2
- symfony/error-handler: ^5.2
- symfony/event-dispatcher: ^5.2
- symfony/filesystem: ^5.2
- symfony/process: ^5.2
- symfony/yaml: ^5.2
README
CLI Note is an experiment to use a console application as a slide deck.
Usage
Use jaem3l/cli-note-presentation as skeleton for your presentation.
Example
To execute a simple example you can just clone this repository:
$ git clone git@github.com:jaem3l/cli-note.git
$ cd cli-note
$ composer install
$ ./cli-note
Controls
Start at specific slide
$ ./cli-note --start-at=10 $ ./cli-note -s 10
While presentation
p
,prev
orprevious
: render previous slidec
orcurrent
: render current slide againn
ornext
: render next slidef
orfirst
: render first slidel
orlast
: render last slide
Slides
CLI Note ships with seven different built-in slides
- CanvasSlide - an abstract slide to render various canvas elements based on chr-hertel/console-canvas
- CodeSlide - to print highlighted code snippets
- ImageSlide - to print images
- ListSlide - to print a list with a headline
- ProcessSlide - to print the output of a child process
- TextSlide - to print a text file with formatting possible
- TitleSlide - to print a title and an optional subtitle
Disclaimer
This is just a project to demonstrate the capabilities of Symfony Console Component for SymfonyWorld 2020. Use this on your own risk and do not expect this to be actively maintained.