- 17 May 2021
- 1 Minute to read
- Updated on 17 May 2021
- 1 Minute to read
Romp Configuration Parameters
In addition to command-line arguments, Romp uses a json-based configuration file to define runtime behavior. See below for all the items you can configure.
You can control the behavior of the Romp client through the use of configuration parameters. These can be specified in both a
rompconfig.json configuration file or as a command-line argument.
Because parameters can be defined in multiple places, the values cascade, and is resolved in the following order:
- Command-line argument
rompconfig.jsonfile in current working directory
rompconfig.jsonfile in local data store
This means the command-line argument will override all other levels. For example, to enable verbose output for a package installation, use:
> romp install somePackage --log-level=debug
|A Boolean that indicates whether packages will be cached. This defaults to true.
Note that disabling the package cache may result in a package that cannot be uninstalled, since the cached package is used for the uninstall script and package content manifest.
|A Boolean that, when true, indicates whether the local datastore will default to
%user%\.romp and the local package registry will default as a user-package registry. This defaults to false.
|A string that, when set, will be used to determine which package source is used when no package source is specified.
|A Boolean which indicates, when true, that credentials must be entered interactively when using the store command and may not be displayed with the display command. This defaults to false.
|A string that contains the full path of a directory containing .upack extension files to load. This defaults to
|A string that contains the full path of a directory which contains unpacked cached extensions. This defaults to
|A string that describes the verbosity of Romp's console output. May be:
error. The default value is
|A string that contains the URL of a proxy server to use for any HTTP requests.
|An object of rafts that Romp has access to, with each property name containing the raft name, and the value being a string that contains either the directory of a file system raft, or the path to a zip file raft.
Note that this property will not cascade.