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
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>]
usercanupdate: Enable/Disable Update tool in pyRevit main toolsusercanextend: Enable/Disable Extensions tool in pyRevit main toolsusercanconfig: Enable/Disable Settings tool in pyRevit main toolsUse 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
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
--lock: Locks the file for current user only. pyRevit will now allow changing the configurations if the seed config file is not writable.