openmicroscopy/openmicroscopy — pull request #554 by joshmoore (2012-12-17 07:31:48+00:00)
Title: Cli improvements 3 (rebased onto develop)

This is the same as gh-550 but rebased onto develop.

----

This PR fixes a couple of bugs int the CLI `config` plugin raised by @manics in openmicroscopy/ome-documentation#179:

- when using `OMERO_CONFIG=new_profile bin/omero config set ...`, populates the new profile with `omero.config.version` to pass the version_check(). See corresponding test in clitests/prefs.py
- allow to read from the standard in when using `bin/omero config load`
- also adds options to sort `bin/omero user list` by other fields (will be handled in a QueryControl class in the future)