fixed cli
This commit is contained in:
parent
6c33f35a24
commit
7469fa3dcf
6
main.py
6
main.py
@ -1,4 +1,6 @@
|
||||
#!/bin/python3
|
||||
import requests
|
||||
import sys
|
||||
from jinja2 import Template
|
||||
|
||||
|
||||
@ -12,3 +14,7 @@ def package(package_name, template):
|
||||
summary=info["info"]["summary"],
|
||||
home_page=info["info"]["home_page"],
|
||||
sha256=info["releases"][info["info"]["version"]][0]["digests"]["sha256"]))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
package(sys.argv[1], sys.argv[2])
|
||||
|
Loading…
Reference in New Issue
Block a user