配接器 XML 檔可包含數個 <command>元素;每個元素定義一個可由 <run> 元素在 <interface> 元素中參照的具名指令。<command> 元素是在 <interface> 元素之外指定,因此,XML 檔案內的多重介面可重複使用相同的指令。
指令如果要呼叫其他指令,可以在 <resultsblock> 元素的 <match> 元素中,內嵌 <run> 指令。
<command name="p4_changes">
<execute>
command line
</execute>
<resultsblock>
Has its own structure.
</resultsblock>
</command>
或者,您可以在區塊中以 <integrate> 元素取代 <execute> 元素。