Romp Configuration
  • 07 Aug 2023
  • 1 Minute to read
  • Dark
    Light
  • PDF

Romp Configuration

  • Dark
    Light
  • PDF

Article Summary

Romp is invoked as follows:

romp «command»

The «command» is one of the following:

  • config list - Displays all configuration values after cascading all configuration files.
  • config export - Exports the current configuration to a configuration file.
  • config set - Sets a configuration value in the local configuration file to the specified value.
  • config delete - Deletes a configuration value in the local configuration file.

Config List

romp config list

Arguments and Flags

This command has no additional arguments or flags.

Config Export

romp config export [«file-name»] [--overwrite]

This will be a valid JSON file; see configuration parameters for the format.

Arguments and Flags

file-namepositionalThe relative or absolute path to a file to export. The default value is romp.json in the current working directory.
overwriteflagIf specified, the output file name will be overwritten if it already exists. Otherwise, an error is raised.

Config Set

romp config set «key» «value»

See configuration parameters for a list of valid keys and values.

Arguments and Flags

keypositionalThe name of the key to set.
valuepositionalThe value to set.

When specifying a value other than a string, such as the rafts argument, it must be a valid JavaScript object (either JSON or Array)

Config Delete

Romp config delete «key»

See configuration parameters for a list of valid keys and values.

Arguments and Flags

keypositionalThe name of the key to set.

Was this article helpful?