flux-account-view-config(1)

SYNOPSIS

flux account view-config KEY [OPTIONS]

DESCRIPTION

flux account view-config displays a specific key-value pair from the config_table in the flux-accounting database.

The command accepts a single key and displays its corresponding value.

OPTIONS

--json

Print the output in JSON format instead of a table.

-o, --format

Specify a custom output format using Python's string format syntax. Field names should be enclosed in curly braces (e.g., {key}: {value}).

EXAMPLES

View a configuration parameter in table format:

$ flux account view-config decay_factor
key          | value
-------------+------
decay_factor | 0.5

View a configuration parameter in JSON format:

$ flux account view-config decay_factor --json
{"key": "decay_factor", "value": "0.5"}

Use a custom format string:

$ flux account view-config decay_factor -o "{key}->{value}"
key->value
decay_factor->0.5

SEE ALSO

flux-account-list-configs(1), flux-account-add-config(1), flux-account-edit-config(1), flux-account-delete-config(1)