Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Described the 'dsprop' command

...

[dspace]/config/config-definition.xml

Command-line Access to Configuration Properties

You can resolve a configuration property name to its value using the command dspace dsprop -p some.property.name.  The output is undecorated and may be suitable for use in scripts.

The dsprop command has these options:

nameargumentmeaning

--property

-p

namethe name of the desired property.  This "option" is required.

--module

-m

namethe name of the module in which the property is found.  If omitted, the value of --property is the entire name.  If used, the name will be composed as module.property.  For example, "-m dspace -p url" will look up the value of dspace.url.

--raw

-r

 if used, this prevents the substitution of other property values into the value of the requested property.

--help

-h

-?

 Display help similar to this table.