def init():
import argcomplete
if get_commands() is not None:
raise RuntimeError("Commands are already initialised")
init_commands()
# autocompletion
argcomplete.autocomplete(get_default_parser())
return get_commands()
评论列表
文章目录