The global options, those options to pass to
mlproj itself, before the command
||set/override a parameter value (use
||ask for password interactively|
--dry enables dry run. In dry run, no change is actually
executed. This allows one to double-check what would be the effect of running
the command for real, before deciding to proceed or not, or maybe changing the
--verbose enable verbose output. In particular, the requests to
the Management API are shown on the screen. Used in conjunction with
this is an easy yet powerful way both to investigate when something goes wrong,
and to learn the Management API.
--user set or override resp. the code,
host, and user values. These values can be used in the environment files by
using the substitution codes
--password allows to set the password to use for the connection to
MarkLogic. Unlike for
--user, the password is not passed on the
command line itself, but it is asked interactively. This is for obvious
security reasons, e.g. to prevent the production password to end up in the shell
--param sets or overrides a named parameter, which in turn can be
used in the environment files by using the substitution syntax
value of the option must be of the form
name=value, to set the parameter
value (you can use
: indifferently). This option is
--file, mutually exclusive, set the environment to
act upon. The value of the option
--file is the path to an environment file.
The value of the option
--environ is the name of an environment (corresponding
to the name of a file in a specific sub-directory of the current directory).
For example, the option "
--environ dev" is equivalent to "