MCPcopy Create free account
hub / github.com/tortoise/tortoise-orm / _add_init_parser

Function _add_init_parser

tortoise/cli/cli.py:704–709  ·  view source on GitHub ↗
(subparsers: argparse._SubParsersAction)

Source from the content-addressed store, hash-verified

702
703
704def _add_init_parser(subparsers: argparse._SubParsersAction) -> None:
705 init_parser = subparsers.add_parser(
706 "init", help="Create migrations packages for configured apps."
707 )
708 init_parser.add_argument("app_labels", nargs="*")
709 init_parser.set_defaults(func=_run_init)
710
711
712def _add_shell_parser(subparsers: argparse._SubParsersAction) -> None:

Callers 1

_build_parserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…