Django: create sub-commands within a management command

Django: create sub-commands within a management command

Articles

Sub-commands are a part of argparse, the Python standard library module that Django uses. Adam Johnson demonstrates an example of using sub-commands in a Django management command.