no message
This commit is contained in:
parent
cfc59f5d23
commit
7225438341
@ -1,6 +1,6 @@
|
|||||||
# Packs-Index
|
# Packs-Index
|
||||||
- [hash-utils](#hash-utils)
|
- [hash-utils](#hash-utils)
|
||||||
- [minecraft-SLP](#minecraft-SLP)
|
- [minecraft-SLP](#minecraft-slp)
|
||||||
- [network-endpoint](#network-endpoint)
|
- [network-endpoint](#network-endpoint)
|
||||||
- [socket-utils](#socket-utils)
|
- [socket-utils](#socket-utils)
|
||||||
- [string-utils](#string-utils)
|
- [string-utils](#string-utils)
|
||||||
|
|||||||
@ -60,7 +60,7 @@ class Metadata(dict):
|
|||||||
return self["groupId"]
|
return self["groupId"]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def artifactId(self):
|
def artifactId(self)->str:
|
||||||
return self["artifactId"]
|
return self["artifactId"]
|
||||||
|
|
||||||
@property
|
@property
|
||||||
@ -123,7 +123,7 @@ def getdatas() -> list[Metadata]:
|
|||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
readme = f"# Packs-Index\n"
|
readme = f"# Packs-Index\n"
|
||||||
for metadata in getdatas():
|
for metadata in getdatas():
|
||||||
readme += f"- [{metadata.artifactId}](#{metadata.artifactId})\n"
|
readme += f"- [{metadata.artifactId}](#{metadata.artifactId.lower()})\n"
|
||||||
f = open('./update/README.MD','r',encoding='utf-8')
|
f = open('./update/README.MD','r',encoding='utf-8')
|
||||||
readme += f.read()
|
readme += f.read()
|
||||||
f.close()
|
f.close()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user