1PRIMA-CFGMAINT(1)     User Contributed Perl Documentation    PRIMA-CFGMAINT(1)
2
3
4

NAME

6       cfgmaint - configuration tool for Visual Builder
7

SYNTAX

9       cfgmaint [ -rbxop ] command object [ parameters ]
10

DESCRIPTION

12       Maintains widget palette configuration for the Visual Builder.  It can
13       be stored in the system-wide and the local user config files.
14       "cfgmaint" allows adding, renaming, moving, and deleting the classes
15       and pages in the Visual Builder widget palette.
16

USAGE

18       "cfgmaint" is invoked with "command" and "object" arguments, where
19       "command" defines the action to be taken, and "object" - the object to
20       be handled.
21
22   Options
23       -r  Write configuration to the system-wide config file
24
25       -b  Read configuration from both system-wide and user config files
26
27       -x  Do not write backups
28
29       -o  Read-only mode
30
31       -p  Execute "use Prima;" code before start. This option might be
32           necessary when adding a module that relies on the toolkit but does
33           not invoke the code itself.
34
35   Objects
36       m   Selects a module. Valid for add, list, and remove commands.
37
38       p   Selects a page. Valid for all commands.
39
40       w   Selects a widget. Valid for list, remove, rename, and move
41           commands.
42
43   Commands
44       a   Adds a new object to the configuration. Can be either a page or a
45           module.
46
47       d   Removes an object.
48
49       l   Prints object name. In case object is a widget, prints all
50           registered widgets. If the string is specified as an additional
51           parameter, it is treated as a page name and only widgets from the
52           page are printed.
53
54       r   Renames an object to a new name, which is passed as additional
55           parameter.  Can be either a widget or a page.
56
57       m   If "object" is a widget, relocates one or more widgets to a new
58           page.  If "object" is a page, moves the page before the page
59           specified as an additional parameter, or to the end if no
60           additional page specified.
61

EXAMPLE

63       Add a new module to the system-wide configuration:
64
65               cfgmaint -r a m CPAN/Prima/VB/New/MyCtrls.pm
66
67       List widgets, present in both config files:
68
69               cfgmaint -b l w
70
71       Rename a page:
72
73               cfgmaint r p General Basic
74

FILES

76       Prima/VB/Config.pm, ~/.prima/vbconfig
77

AUTHOR

79       Dmitry Karasik, <dmitry@karasik.eu.org>.
80

SEE ALSO

82       VB, Prima::VB::CfgMaint
83
84
85
86perl v5.30.0                      2019-08-21                 PRIMA-CFGMAINT(1)
Impressum