Skip to main content

config

Usage: pmc config [OPTIONS]

Configure the management console

╭─ Config file location ──────────────────────────────────────────────────────╮
--global use global configuration file
--local use project configuration file
--file=PATH use given configuration file (env: CHROMIA_CONFIG)
╰─────────────────────────────────────────────────────────────────────────────╯
╭─ Options ───────────────────────────────────────────────────────────────────╮
--get=KEY get value: name [value pattern]
│ -e, --edit edit file using default editor │
--list list all │
--set=KEY=VALUE set values [key=value]
│ -h, --help Show this message and exit
╰─────────────────────────────────────────────────────────────────────────────╯

You can use the command (pmc config) to edit the configuration of the PMC. It uses the local config file if a global config location isn't provided. You can also use it to list and receive information in the configuration.

  • To edit (open the file) the global configuration file, use the following:
pmc config --global -e
  • To edit (open the file) the local configuration file, use the following:
pmc config --local -e
  • To list all values of the config, use the following:
pmc -global --list
pmc config --global --get brid
  • To set the Blockchain RID, use the following:
pmc config --set brid=”345678”