CLI#

rconf#

RConf CLI tool

usage: rconf [-h] [-c LOCATION] [--version] {config,dump} ...
rconf config

Show configuration options.

rconf dump

Dump a JSON or TOML document or fragment with references and patches.

options#

-h, --help#

show this help message and exit

-c <location>, --config-file <location>#

location of a configuration file. Replaces other active configuration file, if any.

--version#

show program’s version number and exit.

rconf config#

Show configuration options.

usage: rconf config [-h] {list,active,demo,create} ...
-h, --help#

show this help message and exit

rconf config list

Print the list of considered configuration files.

rconf config active

Print the content of the active configuration file.

rconf config demo

Print the content of a demo configuration file.

rconf config create

Create a configuration file.

rconf config active#

Print the content of the active configuration file.

usage: rconf config active [-h]
-h, --help#

show this help message and exit

rconf config create#

Create a configuration file.

usage: rconf config create [-h]
-h, --help#

show this help message and exit

rconf config demo#

Print the content of a demo configuration file.

usage: rconf config demo [-h]
-h, --help#

show this help message and exit

rconf config list#

Print the list of considered configuration files.

usage: rconf config list [-h]
-h, --help#

show this help message and exit

rconf dump#

Dump a JSON or TOML document or fragment with references and patches.

usage: rconf dump [-h] [-b BASE_URL] [-m MEDIA_TYPE] [-p PTR]
                  [-M OUTPUT_MEDIA_TYPE]
                  url
url#

the file location or ‘-’ (stdin). URLs may contain a pointer as fragment. Add a scheme if needed (file, http, https, ftp or data).

-h, --help#

show this help message and exit

-b <base_url>, --base-url <base_url>#

URL to resolve relative references from, or use as URL for stdin.

-m <media_type>, --media-type <media_type>#

explicitly set input media type or filename extension.

-p <ptr>, --ptr <ptr>#

a pointer to a fragment of the document. Overrides the URL fragment.

-M <output_media_type>, --output-media-type <output_media_type>#

explicitly set output media type.