summaryrefslogtreecommitdiff
path: root/plugins/tasks.py
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2020-07-13 15:28:40 -0400
committeranselor <anselor@gmail.com>2020-07-14 19:26:30 -0400
commite38684d219847f636562ab2720b82aae4a6fd408 (patch)
treeec20d7a46b8cba1a662d46e79d5e004590bee93b /plugins/tasks.py
parent683d049299c0cf7a2821b639a95ad0911bab1bc7 (diff)
downloadcmd2-git-e38684d219847f636562ab2720b82aae4a6fd408.tar.gz
Brought in cmd2 plugin template as a first-class member of cmd2 proper
Diffstat (limited to 'plugins/tasks.py')
-rw-r--r--plugins/tasks.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/tasks.py b/plugins/tasks.py
index cc9f5157..06104429 100644
--- a/plugins/tasks.py
+++ b/plugins/tasks.py
@@ -9,16 +9,13 @@ Make sure you satisfy the following Python module requirements if you are trying
- setuptools >= 39.1.0
"""
import os
-import re
-import shutil
-import sys
-
import invoke
from plugins.ext_test import tasks as ext_test_tasks
+from plugins.template import tasks as template_tasks
# create namespaces
-namespace = invoke.Collection()
+namespace = invoke.Collection(ext_test=ext_test_tasks, template=template_tasks)
namespace_clean = invoke.Collection('clean')
namespace.add_collection(namespace_clean, 'clean')