diff --git a/README.md b/README.md index 533a1de..f990dee 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,16 @@ freeze --execute "eza -lah"

+#### Show executed command + +```bash +freeze --execute "eza -h" +``` + +

+ output of freeze command showing executed command, ANSI +

+ Freeze is also [super customizable](#customization) and ships with an [interactive TUI](#interactive-mode). ## Installation @@ -95,6 +105,7 @@ Screenshots can be customized with `--flags` or [Configuration](#configuration) - [`-b`](#background), [`--background`](#background): Apply a background fill. - [`-c`](#configuration), [`--config`](#configuration): Base configuration file or template. +- [`-s`](#show-executed-command), [`--show-cmd`](#show-executed-command): Show executed command. - [`-l`](#language), [`--language`](#language): Language to apply to code - [`-m`](#margin), [`--margin`](#margin): Apply margin to the window. - [`-o`](#output), [`--output`](#output): Output location for .svg, .png, .jpg. diff --git a/test/golden/svg/show-eza.svg b/test/golden/svg/show-eza.svg new file mode 100644 index 0000000..2362aef --- /dev/null +++ b/test/golden/svg/show-eza.svg @@ -0,0 +1,15 @@ + + + + + +eza -hansi.go default.nix freeze_test.go main.go style.goconfig.go error.go go.mod Makefile svgconfig_test.go flake.lock go.sum png.go tapesconfigurations flake.nix help.go pty.go testCONTRIBUTING.md font input pty_windows.go cut.go font.go interactive.go README.md cut_test.go freeze LICENSE SECURITY.md + +