code: def get_context(name, doc):
      
      name = inflection.underscore(name)
      return {
          'name': name,
          'doc': doc or name
      }
docs: Generate a command with given name.
      The command can be run immediately after generation.
  
      For example:
  
          dj generate command bar
  
          dj run manage.py bar