enaml-ops / omg-cli

it's kind of like an (o)ps (m)anager in (g)olang
Apache License 2.0
15 stars 11 forks source link

omg-cli should look in $HOME for its plugins #21

Closed ghost closed 8 years ago

ghost commented 8 years ago

omg cli looks in its CWD rather than $HOME for its plugin state.

xchapter7x commented 8 years ago

you can now set the plugin base path via an env var. existing behavior and defaults remain the same

ex. one can now simply set the OMG_PLUGIN_DIR env var to change the plugin dir to wherever they like ex. $ OMG_PLUGIN_DIR=~/ ./omg list-products

https://github.com/enaml-ops/omg-cli/commit/45bd22ba800ed09c67552291e82c4121eb24b330