github.com/anakojm/hugo-katex@v0.0.0-20231023141351-42d6f5de9c0b/testscripts/commands/gen.txt (about) 1 # Test the gen commands. 2 # Note that adding new commands will require updating the NUM_COMMANDS value. 3 env NUM_COMMANDS=42 4 5 hugo gen -h 6 stdout 'A collection of several useful generators\.' 7 8 hugo gen doc --dir clidocs 9 checkfilecount $NUM_COMMANDS clidocs 10 11 hugo gen man -h 12 stdout 'up-to-date man pages' 13 hugo gen man --dir manpages 14 checkfilecount $NUM_COMMANDS manpages 15 16 hugo gen chromastyles -h 17 stdout 'Generate CSS stylesheet for the Chroma code highlighter' 18 hugo gen chromastyles --style monokai 19 stdout '/\* LineHighlight \*/ \.chroma \.hl \{ background-color: #3c3d38 \}'