diff --git a/tasks.py b/tasks.py index 88709da..82de785 100644 --- a/tasks.py +++ b/tasks.py @@ -11,3 +11,7 @@ def add(c, url, name=None): name = url c.run(f"git submodule add {url}") c.run(f"git commit -am 'added: {name}'") + +@task +def update(c): + c.run("git pull && git submodule update --init") \ No newline at end of file