Skip to content

Commit

Permalink
add todo comment
Browse files Browse the repository at this point in the history
  • Loading branch information
bckohan committed Dec 26, 2023
1 parent 482f145 commit 6196b02
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions django_typer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,17 @@
"get_command",
]

"""
TODO
- move django commands into a top level callback
- make sure they get put into execute()
- handle case where user defines a callback
- add @group() support
- test base class option functionality (e.g. --no-color, --skip-checks, etc)
- documentation
- linting
- type hints
"""

def get_command(
command_name: str,
Expand Down Expand Up @@ -411,6 +422,7 @@ def parse_args(self, args=None, namespace=None):
params = ctx.params

def discover_parsed_args(ctx):
# todo is this necessary?
for child in ctx.children:
discover_parsed_args(child)
params.update(child.params)
Expand Down

0 comments on commit 6196b02

Please sign in to comment.