diff --git a/odoo-stubs/cli/__init__.pyi b/odoo-stubs/cli/__init__.pyi index b9de9e5..50e7aa7 100644 --- a/odoo-stubs/cli/__init__.pyi +++ b/odoo-stubs/cli/__init__.pyi @@ -1,2 +1,14 @@ -from . import cloc as cloc, deploy as deploy, populate as populate, scaffold as scaffold, server as server, shell as shell, start as start, tsconfig as tsconfig +from . import ( + cloc as cloc, + db as db, + deploy as deploy, + genproxytoken as genproxytoken, + neutralize as neutralize, + populate as populate, + scaffold as scaffold, + server as server, + shell as shell, + start as start, + tsconfig as tsconfig +) from .command import Command as Command, main as main diff --git a/odoo-stubs/cli/genproxytoken.pyi b/odoo-stubs/cli/genproxytoken.pyi new file mode 100644 index 0000000..dcdff1a --- /dev/null +++ b/odoo-stubs/cli/genproxytoken.pyi @@ -0,0 +1,7 @@ +from . import Command + +class GenProxyToken(Command): + command_name: str + def __init__(self) -> None: ... + def generate_token(self, length: int = ...): ... + def run(self, cmdargs) -> None: ...