fedmsg-config(1)

fedmsg-config1

Query or print the parsed fedmsg configuration

Usage

fedmsg-config [--query CONFIG_KEY] [--config-filename CONFIG_FILENAME] [--disable-defaults]

fedmsg-config [{-h | --help}]

Overview

Query or print the parsed fedmsg-config.

fedmsg-config is a simple utility that prints out the contents of the fully parsed fedmsg config as a JSON dictionary. It also allows the user to query a specific key of the config.

Query operations

The tool allows you to query a specific configuration key with the --query CONFIG_KEY option.

In query mode, the configuration key has the following syntax: fedmsg-config --query foo.bar.baz prints the value of config["foo"]["bar"]["baz"] to the standard output.

If the configuration value is an atomic value, it is printed directly. If the value is a list, each item of that list gets printed line by line. Else, the value is printed as a JSON dictionary.

Options

-h, --help

Print an help message and exit

--query CONFIG_KEY

Dump a given key from the parsed config instead of dumping all of it.

--config-filename CONFIG_FILENAME

Config file to use.

--disable-defaults

Disable the configuration defaults.

Authors

The Fedora Infrastructure team <[email protected]>

Wrote the fedmsg software.

Nicolas Dandrimont <[email protected]>

Wrote this manpage for the Debian system.

From fedmsg 0.9.3-1 in Debian 8 (Jessie). Parsed by carta from the page's man source.