To test this, I have the following plugin in my path: $ cat ~/dev/go/bin/juju-args #!/usr/bin/python
import sys print sys.argv
$ /usr/bin/juju args a b; /usr/bin/juju --version ['/home/jameinel/dev/go/bin/juju-args', 'a', 'b'] 1.18.1-trusty-amd64
$ juju args a b; juju --version ['/home/jameinel/dev/go/bin/juju-args'] 1.20.6-trusty-amd64
To test this, I have the following plugin in my path: bin/juju- args
$ cat ~/dev/go/
#!/usr/bin/python
import sys
print sys.argv
$ /usr/bin/juju args a b; /usr/bin/juju --version jameinel/ dev/go/ bin/juju- args', 'a', 'b']
['/home/
1.18.1-trusty-amd64
$ juju args a b; juju --version jameinel/ dev/go/ bin/juju- args']
['/home/
1.20.6-trusty-amd64