"""Functions for working with QMK's submodules.
"""
"""Returns a dictionary of submodules.
Each entry is a dict of the form:
{
'name': 'submodule_name',
'status': None/False/True,
'githash': '<sha-1 hash for the submodule>
}
status is None when the submodule doesn't exist, False when it's out of date, and True when it's current
"""
=
=
continue
=
, =
=
= None
== :
= False
== :
= True
return
"""Update the submodules.
submodules
A string containing a single submodule or a list of submodules.
"""
=
=
# Update everything
# Update only a single submodule
# Update submodules in a list