Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 650 Bytes

custom_commands.md

File metadata and controls

24 lines (20 loc) · 650 Bytes

Custom commands

To use custom commands, you need to add a similar code section in the file madock/projects/config.xml:

<custom_commands>
    <ci>
        <alias>c:i</alias>
        <origin>madock composer install</origin>
    </ci>
    <ls>
        <alias>ls</alias>
        <origin>madock cli ls</origin>
    </ls>
</custom_commands>

Where:

  • alias is the command you type in the command line.
  • origin is the command that will be executed.

You can also add unique custom commands for each project separately. To do this, add the commands to the project's config file located at madock/projects/{project_name}/config.xml.