Use config command to configure pyRevit on your machine from an existing template configuration file:

pyrevit config <template_config_path> [--log=<log_file>]
$ pyrevit config "C:\\myPyRevitTemplateConfig.ini"

To see all configuration options, run the pyrevit configs --help command

Configuring Sensitive Tools

You can Enable/Disable a few tools in pyRevit configurations:

pyrevit configs usercanupdate [(Yes | No)] [--log=<log_file>]
pyrevit configs usercanextend [(Yes | No)] [--log=<log_file>]
pyrevit configs usercanconfig [(Yes | No)] [--log=<log_file>]

Configuring Your Own Options

Use the configs command to configure your custom config options. Specify the option in section:option format:

pyrevit configs <option_path> (enable | disable) [--log=<log_file>]
pyrevit configs <option_path> [<option_value>] [--log=<log_file>]

$ pyrevit configs mysection:myswitch enable      # set myswitch to True
$ pyrevit configs mysection:myvalue 12           # set myvalue to 12

Using Config as Seed

Seed the configuration to %PROGRAMDATA%/pyRevit to be used as basis for pyRevit configurtions when configuring pyRevit using System account on a user machine

pyrevit configs seed [--lock] [--log=<log_file>]
$ pyrevit configs seed