For compatibility with the original Hist library, we provide a CLI as well.

usage: hist [-h] [-i INPUT] [-b BUCKETS] [-s SCREEN_WIDTH] [-t LABEL]
            [-o OUTPUT_IMAGE]

  -h, --help            show this help message and exit
  -i INPUT, --input INPUT
                        input file to read from (stdin by default)
  -b BUCKETS, --buckets BUCKETS
                        number of bins
  -s SCREEN_WIDTH, --screen-width SCREEN_WIDTH
                        maximum screen width
  -t LABEL, --label LABEL
                        label for plot
  -o OUTPUT_IMAGE, --output-image OUTPUT_IMAGE
                        save image to file