move config to root
This commit is contained in:
parent
81af32e4cf
commit
037ce0d19b
@ -1,6 +1,7 @@
|
|||||||
#!/bin/python3
|
#!/bin/python3
|
||||||
import requests
|
import requests
|
||||||
from os import path
|
from os import path
|
||||||
|
import os
|
||||||
import re
|
import re
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
|
|
||||||
@ -321,7 +322,8 @@ def create_lua_function(function_name: str):
|
|||||||
return doc_comment + "\n" + func_signature
|
return doc_comment + "\n" + func_signature
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
library_path = "config/library"
|
library_path = "library"
|
||||||
|
os.makedirs(library_path, exist_ok=True)
|
||||||
for section_name, funcs in list_available_functions().items():
|
for section_name, funcs in list_available_functions().items():
|
||||||
with open(f"{library_path}/{section_name}.lua", "w") as f:
|
with open(f"{library_path}/{section_name}.lua", "w") as f:
|
||||||
f.write("---@meta\n\n")
|
f.write("---@meta\n\n")
|
||||||
|
Loading…
Reference in New Issue
Block a user