Convert .gitmodules entries into git submodule add commands.
# Install deps pip3 install -r requirements.txt# Syntax python3 convert_gitmodules.py [gitmodules_path] [--force]gitmodules_path(optional): Path to thegitmodulesfile. Default is ".gitmodules".--force(optional): Include the "--force" flag in thegit submodule addcommand. Default is not to include it.
# To convert Gitmodules, run the convert_gitmodules.py script. python convert_gitmodules.py ~/.gitmodules --force # Output git submodule add --force https://github.com/tonsky/FiraCode fonts/fira git submodule add --force https://github.com/JetBrains/JetBrainsMono fonts/JetBrainsMono git submodule add --force https://github.com/zdharma-continuum/fast-syntax-highlighting .config/zsh/plugins/fast-syntax-highlightingThis project is licensed under the MIT License. See the LICENSE file for details.