This chapter describes the commands that manage plug-ins.
The following table summarizes the CLI commands for managing plug-ins.
Table 11–1 Summary of the plg Commands|
Command |
Description |
|---|---|
|
plg.p.add |
Imports a new or existing plug-in from the file system. |
|
plg.p.del |
Deletes a plug-in. |
|
plg.p.la |
Lists all plug-ins. |
|
plg.p.lo |
Lists the details of a plug-in. |
|
plg.p.mod |
Modifies a plug-in. |
This command imports a new or existing plug-in from the file system. Note that Ctrl-C terminates the command, but does not affect the progress of the import.
Table 11–2 Arguments and Result for the plg.p.add Command|
Argument/Result |
Syntax |
Description |
|
|---|---|---|---|
|
path |
[R] |
InputStreamWrapper |
The plug-in JAR file |
|
result |
PluginID |
The plug-in ID |
|
This command deletes a plug-in.
Table 11–3 Argument for the plg.p.del Command|
Argument |
Syntax |
Description |
|
|---|---|---|---|
|
ID |
[R] |
PluginID |
The plug-in ID |
This command lists all of the plug-ins.
Table 11–4 Result for the plg.p.la Command|
Result |
Syntax |
Description |
|
|---|---|---|---|
|
result |
PluginArray |
An array of plug-ins |
|
This command lists the details about one plug-in.
Table 11–5 Argument and Result for the plg.p.lo Command|
Argument/Result |
Syntax |
Description |
|
|---|---|---|---|
|
ID |
[R] |
PluginID |
The plug-in ID |
|
result |
Plugin |
The plug-in |
|
This command modifies a plug-in. If any arguments are omitted, the current values are preserved.
Table 11–6 Arguments and Result for the plg.p.mod Command|
Argument/Result |
Syntax |
Description |
|
|---|---|---|---|
|
ID |
[R] |
PluginID |
The plug-in ID |
|
order |
[O] |
String |
The order of the plug-in menu |
|
result |
Plugin |
The plug-in |
|