git clone https://github.com/distrap/gcodehs/
cd gcodehs
nix-build
ornix-shell
To pretty-print sample.gcode
::
gcodehs pretty sample.gcode
See gcodehs --help
for usage information.
Pretty printing is slow due to conversion to text but we do have colors!
Fast pretty printer is needed that operates with ByteStrings directly.
Generating bash completion::
gcodehs --bash-completion-script `which gcodehs` &> gcodehs-completion.sh
or sourcing directly::
source <(gcodehs --bash-completion-script `which gcodehs`)