Skip to content

Latest commit

 

History

History
50 lines (32 loc) · 1.23 KB

README.md

File metadata and controls

50 lines (32 loc) · 1.23 KB

gcodehs

GitHub Workflow Status Hackage version Dependencies

Installing

  • git clone https://github.com/distrap/gcodehs/
  • cd gcodehs
  • nix-build or nix-shell

Usage

To pretty-print sample.gcode::

gcodehs pretty sample.gcode

See gcodehs --help for usage information.

Development status

Pretty printing is slow due to conversion to text but we do have colors!

Fast pretty printer is needed that operates with ByteStrings directly.

Bash completion

Generating bash completion::

gcodehs --bash-completion-script `which gcodehs` &> gcodehs-completion.sh

or sourcing directly::

source <(gcodehs --bash-completion-script `which gcodehs`)

Examples

Generating GCode