rlsbl v0.40.1 /rlsbl.commands.record_gif
On this page

Record-gif command that captures a terminal demo GIF using vhs, suitable for embedding in README files and documentation pages.

#rlsbl.commands.record_gif

#rlsbl.commands.record_gif

Record-gif command that captures a terminal demo GIF using vhs, suitable for embedding in README files and documentation pages.

#_parse_int_flag

python
def _parse_int_flag(flags, name, default)

Parse an integer flag value, exiting with a clear error on invalid input.

#_get_bin_command

python
def _get_bin_command()

Auto-detect the project's binary command name via registry template vars.

#run_cmd

python
def run_cmd(registry, args, flags)

Record a demo GIF of ' --help' using vhs.

Requires vhs (https://github.com/charmbracelet/vhs) to be installed. Output is saved to assets/demo.gif.