Closed manics closed 4 years ago
LGTM. Merging. The only feature I can imagine is that the commands that are being loaded could also show up under self.ctx.dbg
:
(omero-virtualenv) bash-4.2$ head t/0*
==> t/01.omero <==
version
==> t/02.omero <==
admin ice server pid Blitz-0
==> t/03.omero <==
config get
(omero-virtualenv) bash-4.2$ bin/omero -d1 load --glob t/*.omero
Loading file t/01.omero
5.6.dev8
Loading file t/02.omero
Executing: ['icegridadmin', '--Ice.Config=/home/omero/workspace/OMERO-test-integration/src/dist/etc/internal.cfg', '-e', 'server pid Blitz-0']
36717
Loading file t/03.omero
omero.data.dir=/home/omero/workspace/OMERO-test-integration/data
Closes https://github.com/ome/omero-py/issues/120
For example,
omero load --glob /opt/omero/server/config/*.omero
will sort files/opt/omero/server/config/*.omero
before loading them