ExpressionEngine Docs

make:action

Action Generator – Creates a new action for an add-on

Options list:

    --addon=<value>
    -a <value>
        Folder for third-party add-on you want to add action to

Examples:

Generating an action:

php eecli.php make:action MyNewAction --addon=my_existing_addon