commands.sh

freeze

all

Generate images of code and terminal output. Supported formats are PNG, SVG, and WebP. See also: `silicon`.

More info →

Options (5)

-o, --outputboolean

Specify the output path

Example: freeze {{path/to/file}} {{[-o|--output]}} {{path/to/output_image.png}}
-x, --executeboolean

Generate an image of terminal output

Example: freeze {{[-x|--execute]}} {{command}}
-i, --interactiveboolean

Interactively customize the output image

Example: freeze {{path/to/file}} {{[-i|--interactive]}}
-t, --themeboolean

Select a theme for syntax highlighting

Example: freeze {{path/to/file}} {{[-t|--theme]}} {{dracula}}
-c, --configboolean

Use a base configuration template

Example: freeze {{path/to/file}} {{[-c|--config]}} {{base|full|user}}

Examples (8)

Generate an image of code based on a file

freeze path/to/file

Specify the output path

freeze path/to/file [-o|--output] path/to/output_image.png

Generate an image of terminal output

freeze [-x|--execute] command

Interactively customize the output image

freeze path/to/file [-i|--interactive]

Select a theme for syntax highlighting

freeze path/to/file [-t|--theme] dracula

Use a base configuration template

freeze path/to/file [-c|--config] base|full|user

Capture a specific range of line numbers

freeze path/to/file --lines start,end

Show line numbers

freeze path/to/file --show-line-numbers
made by @shridhargupta | data from tldr-pages