Implement documentation setup and Docker configuration for LWC project
This commit is contained in:
+4
-1
@@ -2,6 +2,8 @@ import argparse
|
||||
import importlib
|
||||
import sys
|
||||
|
||||
from cobot.commands import docker_setup as cmd_docker_setup
|
||||
from cobot.commands import doc_setup as cmd_doc_setup
|
||||
from cobot.commands import setup as cmd_setup
|
||||
|
||||
|
||||
@@ -13,7 +15,6 @@ def main():
|
||||
subparsers = parser.add_subparsers(dest="command", metavar="<command>")
|
||||
subparsers.required = True
|
||||
|
||||
# Регистрируем подкоманды — каждый модуль в cobot/commands/ описывает свою
|
||||
_register_commands(subparsers)
|
||||
|
||||
args = parser.parse_args()
|
||||
@@ -22,3 +23,5 @@ def main():
|
||||
|
||||
def _register_commands(subparsers):
|
||||
cmd_setup.register(subparsers)
|
||||
cmd_docker_setup.register(subparsers)
|
||||
cmd_doc_setup.register(subparsers)
|
||||
|
||||
Reference in New Issue
Block a user