-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Any insight on what I'm missing is appreciated. Another note is I'm > not quite sure if there is an alternative to getting the current > running environment other than doing a `juju switch local` then > running the plugin pulling in envcmd.GetDefaultEnvironment, seen > here:
`juju switch` (aka `juju env`) will tell you the current environment. Your plugin should accept -e/--environment to override it. I wrote a g+ post about plugins recently: https://plus.google.com/+AaronBentley/posts/45FA3LDkcv8 Aaron -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVN7kcAAoJEK84cMOcf+9h6UoIAKa1o3TMqvbfJgWZUMmkP9EN 5EzFtQ3tOxHWETa2cctoJazR7sXTzYtkgLznmHxmnBaASkWZ9ro0wjOfPzzq7NEL m75c6ypmRraqZ/gQQMrsiVMvTE3djAoVUVB/slJ0zXqAD8tMsQ/DjwWzcPfv5xWX ZWEV9EOnobVaSss7eqsHj7Hc7BZ7QmnrCdX803qj/7Sh1S+sN1650u87j949gfw5 w93mIhdBLTyMjKMhJaybozlMJZ8HFsMGcnnmqstBKulJS3KMLaBEbwlXuU09YBrV zBIdP9DWs6ZBYmRqrD923EVkkB4k+A49RhSt9Syv16ViZyVJA23zPCahFZVSqfc= =tjm2 -----END PGP SIGNATURE----- -- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev