feat(completions): 添加多个命令的自动补全功能

添加了多个命令的自动补全脚本,包括imageview、time、about等常用命令
同时修复了pkg命令中文件名输出格式的问题
This commit is contained in:
2025-09-03 16:26:31 +08:00
parent 9b94ae16e2
commit 16006674e6
22 changed files with 127 additions and 3 deletions

View File

@@ -100,9 +100,9 @@ print(" pkg list - List installed packages")
]]
main_file:write(main_file_content)
main_file:close()
print("Created ]] .. pkg_name .. [[.lua")
print("Created " .. pkg_name .. ".lua")
else
print("Error: Failed to create ]] .. pkg_name .. [[.lua")
print("Error: Failed to create " .. pkg_name .. ".lua")
return false
end