hmarr / codeowners

🔒 Command line tool and Go library for CODEOWNERS files
MIT License
167 stars 19 forks source link

Update installation instructions for latest Go version #10

Closed justincampbell closed 1 year ago

justincampbell commented 1 year ago

go install is now required when not running from within a module, and the subcommand path is required as the root is not a main package.

hmarr commented 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?

WDYT?

justincampbell commented 1 year ago

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!