Closed justincampbell closed 1 year ago
That line actually refers to how to install this module as a library rather than the CLI tool, but I agree it's probably a bit confusing to have them next to each other.
Can I propose a slightly bigger change instead?
<h2>
level headings — "CLI tool" and "Go library"<h3>
headings for "Installation" and "Usage"go install
go get
command to the "Go library" sectionWDYT?
That sounds good! Feel free to take merge or close this and do whichever you wish. I only submitted the change because the other instructions didn't work when I tried to install it for CLI usage. Thanks!
go install
is now required when not running from within a module, and the subcommand path is required as the root is not amain
package.