App-Cleo
view release on metacpan or search on metacpan
You can also add a few special tokens that `cleo` recognizes:
- `!!!`
Commands starting with `!!!` (three exclamation points) are not displayed and
will be executed immediately. This is useful for running setup commands at the
beginning of your demonstration.
- `%%%`
Within a command, `%%%` (three percent signs) will cause `cleo` to pause and
wait for a keypress before displaying the rest of the command. This is useful
if you want to stop in the middle of a command to give some explanation.
Otherwise, `cleo` displays and executes the commands verbatim. Note that
some interactive commands like `vim` are picky about STDOUT and STDIN. To
make them work properly with `cleo`, you may need to force them to attach
to the terminal like this:
(exec < /dev/tty vim)
=over 4
=item C<!!!>
Commands starting with C<!!!> (three exclamation points) are not displayed and
will be executed immediately. This is useful for running setup commands at the
beginning of your demonstration.
=item C<%%%>
Within a command, C<%%%> (three percent signs) will cause C<cleo> to pause and
wait for a keypress before displaying the rest of the command. This is useful
if you want to stop in the middle of a command to give some explanation.
=back
Otherwise, C<cleo> displays and executes the commands verbatim. Note that
some interactive commands like C<vim> are picky about STDOUT and STDIN. To
make them work properly with C<cleo>, you may need to force them to attach
to the terminal like this:
( run in 0.344 second using v1.01-cache-2.11-cpan-709fd43a63f )