glow icon indicating copy to clipboard operation
glow copied to clipboard

Adding `go install` to the installation instructions in README.md

Open krader1961 opened this issue 3 years ago • 0 comments

I was modifying the Elvish shell to use glow to dynamically generate a Go source file that contains documentation for the shell's builtin functions and variables. I ultimately decided that the simplest, most future proof, mechanism (given the Elvish is also written in Go and hosted on Github) was to modify its CI workflow with these lines:

- name: Install glow to generate the documentation for the "help" command
   run: go install github.com/charmbracelet/glow@latest

As opposed to downloading a pre-built binary. Something like the above would be a useful addition to the README for installing glow as an alternative, or even replacement for, the git clone ...; go build ... sequence.

krader1961 avatar Jul 15 '22 02:07 krader1961