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

Function _add_shell_parser

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

Source from the content-addressed store, hash-verified

710
711
712def _add_shell_parser(subparsers: argparse._SubParsersAction) -> None:
713 shell_parser = subparsers.add_parser(
714 "shell", help="Start an interactive shell (requires ipython or ptpython)."
715 )
716 shell_parser.set_defaults(func=_run_shell)
717
718
719def _add_makemigrations_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…