Comment 1 for bug 2002686

Revision history for this message
Ian Booth (wallyworld) wrote :

Interesting idea. It's likely a little interesting to implement due to how things are wired up using a generic CLI upstream package - the upstream CLI package which parses args etc has no knowledge of what a juju model is. Plus not all juju commands operate on a model (some work with a controller for example) and so handling when -m is valid as an arg to "juju" would need thought. It could be that options can be marked as "subcommand" options and simply passed through to the subcommand by the top level.

I'll assign to a milestone and we can take a closer look...