| 1 |
demo |
| 2 |
|
| 3 |
Play demos of hledger usage in the terminal, if asciinema is installed. |
| 4 |
|
| 5 |
Flags: |
| 6 |
-s --speed=SPEED playback speed (1 is original speed, .5 is half, 2 |
| 7 |
is double, etc (default: 2)) |
| 8 |
|
| 9 |
Run this command with no argument to list the demos. To play a demo, |
| 10 |
write its number or a prefix or substring of its title. Tips: |
| 11 |
|
| 12 |
Make your terminal window large enough to see the demo clearly. |
| 13 |
|
| 14 |
Use the -s/--speed SPEED option to set your preferred playback speed, eg |
| 15 |
-s4 to play at 4x original speed or -s.5 to play at half speed. The |
| 16 |
default speed is 2x. |
| 17 |
|
| 18 |
During playback, several keys are available: SPACE to pause/unpause, . |
| 19 |
to step forward (while paused), CTRL-c quit. |
| 20 |
|
| 21 |
Examples: |
| 22 |
|
| 23 |
$ hledger demo # list available demos |
| 24 |
$ hledger demo 1 # play the first demo at default speed (2x) |
| 25 |
$ hledger demo install -s4 # play the "install" demo at 4x speed |
| 26 |
|
| 27 |
This command is experimental: there aren't many useful demos yet. |