def execute ( self , env , args ) : # start the task if env . task . start ( args . task_name ) : env . io . success ( u'Task Loaded.' )
python task auto start
Starts a new task .
def execute(self, env, args):
        """ Starts a new task.

            `env`
                Runtime ``Environment`` instance.
            `args`
                Arguments object from arg parser.
            """

        # start the task
        if env.task.start(args.task_name):
            env.io.success(u'Task Loaded.')