Revision f722e122f723ec37b95aa669a1f60f53260e0f71 authored by Matthias Bernt on 08 June 2023, 13:54:28 UTC, committed by Matthias Bernt on 08 June 2023, 13:54:28 UTC
1 parent 1ee21e3
library_create_library.py
#!/usr/bin/env python
import os
import sys
from common import submit
try:
data = {}
data["name"] = sys.argv[3]
except IndexError:
print("usage: %s key url name [description] [synopsys]" % os.path.basename(sys.argv[0]))
sys.exit(1)
try:
data["description"] = sys.argv[4]
data["synopsis"] = sys.argv[5]
except IndexError:
pass
submit(sys.argv[1], sys.argv[2], data)
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...