cfgmaint - configuration tool for Visual Builder
cfgmaint [ -rbxop ] command object [ parameters ]
Maintains widget palette configuration for the Visual Builder.
It can be stored in the system-wide and the local user config files.
cfgmaint allows adding,
and deleting the classes and pages in the Visual Builder widget palette.
cfgmaint is invoked with
command defines the action to be taken,
object - the object to be handled.
Write configuration to the system-wide config file
Read configuration from both system-wide and user config files
Do not write backups
use Prima; code before start.
This option might be necessary when adding a module that relies on the toolkit but does not invoke the code itself.
Selects a module. Valid for add, list, and remove commands.
Selects a page. Valid for all commands.
Selects a widget. Valid for list, remove, rename, and move commands.
Adds a new object to the configuration. Can be either a page or a module.
Removes an object.
Prints object name. In case object is a widget, prints all registered widgets. If the string is specified as an additional parameter, it is treated as a page name and only widgets from the page are printed.
Renames an object to a new name, which is passed as additional parameter. Can be either a widget or a page.
object is a widget,
relocates one or more widgets to a new page.
object is a page,
moves the page before the page specified as an additional parameter,
or to the end if no additional page specified.
Add a new module to the system-wide configuration:
cfgmaint -r a m CPAN/Prima/VB/New/MyCtrls.pm
List widgets, present in both config files:
cfgmaint -b l w
Rename a page:
cfgmaint r p General Basic
Dmitry Karasik, <firstname.lastname@example.org>.