Using the configuration directory, how do you disable a task from the tick script?

Basically to avoid having to manually disable tasks from the command line during deployments.