Abstract common functions into a library

This commit is contained in:
decentral1se
2021-06-05 07:55:05 +02:00
parent f92364af80
commit 7b0fb50e7f
5 changed files with 132 additions and 168 deletions

16
bin/clone-all-apps.py Executable file
View File

@ -0,0 +1,16 @@
#!/usr/bin/env python3
# Usage: ./clone-all-apps.py
#
# Clone all available apps into ~/.abra/apps using ssh:// URLs
from abralib import clone_all_apps, get_repos_json
def main():
"""Run the script."""
repos_json = get_repos_json()
clone_all_apps(repos_json)
main()