|
|
|
|
|
by walle_
4629 days ago
|
|
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. |
|