With yarn do:
yarn global add hc-cog
Whether you are creating/deleting/modifying a script, you must update package.json inside of bin: {…} and bin/cog-help.
Running cog on the command line will list all of the avalible scripts and a short description. Any new script you make will overwrite the global defaults. You can run cog make:script dev and create a custom bash script based on that specific project
Run cog update to recieve the latest version. To update this package, run npm version {patch, minor, major} followed by npm publish
If you're using Go to write any commands, put your source .go file into the src directory and run this command to build it into a binary in the bin directory:
npm run build
