News for hackers. Stuff that matters.
Re:Hk, The new Heroku Client written in Go by walle_ on Wednesday October 23, 2013 @06:38AM (#6597932)
Do you mean how to do plugins for your application?

I use this route in one of my projects https://github.com/walle/gas/blob/development/bin/gas

Basically, all executables in your PATH that conforms to a naming convention is a plugin. If a match is found it's run.

So in my case you can call both ´$ gas list´ and ´$ gas-list´.

I don't know if this is the best way to do it, my inspiration was how git commands work.

There are no comments on this comment yet.