Add api and script to restore

This commit is contained in:
WQY\qiong
2023-03-31 10:44:15 +08:00
parent 924dbc802c
commit 610e7ee561
5 changed files with 30 additions and 1 deletions

12
restore_project.py Normal file
View File

@@ -0,0 +1,12 @@
import sys
from tjnetwork import *
def main():
if len(sys.argv) != 2:
print("restore_project name")
return
restore(sys.argv[1])
if __name__ == '__main__':
main()