Module prefs
source code
prefs plugin
Plugin read by omero.cli.Cli during initialization. The method(s)
defined here will be added to the Cli class for later use.
The pref plugin makes use of prefs.class from the common
component.
Copyright 2007 Glencoe Software, Inc. All rights reserved. Use is
subject to license terms supplied in LICENSE.txt
|
getprefs(args,
dir)
Kept around temporarily for upgrading users from pre-4.2
configurations. |
source code
|
|
|
with_config(func)
opens a config and passes it as the second argument. |
source code
|
|
|
HELP = """Commands for server configurati...
|
Imports:
sys,
os,
portalocker,
Exception,
path,
CLI,
BaseControl,
ConfigXml,
FileType,
shlex,
edit_path,
get_user_dir,
wraps,
omero
HELP
- Value:
"""Commands for server configuration.
A config.xml file will be modified under your etc/grid
directory. If you do not have one, "upgrade" will create
a new 4.2 configuration file.
The configuration values are used by bin/omero admin {start,deploy}
to set properties on launch. See etc/grid/(win)default.xml. The "Profi
...
|
|