task run

Parameters:
Name Type Required Default Hint
taskFile string false task.cfc Path to the Task CFC that you want to run
target string false run Method in Task CFC to run

Command Usage

Run a task. By default this will look for a file called "task.cfc" in the current directory and invoke it's run() method.

task run
Override the file name and/or method name with the taskFile and target parameters. The .cfc is optional.
task run build.cfc createZips
To pass parameters to your task, include additional positional parameters or named parameters starting with a colon (:).
Theses parameters will appear directly in the arguments scope of the task.
task run build.cfc createZips value1 value2

task run :param1=value1 :param2=value2