mirror of
https://github.com/CCLeonOS/LeonOS.git
synced 2026-03-03 15:17:01 +00:00
- 将包安装目录从/leonos/packages迁移至/packages - 更新版本号至0.3.6 - 修改installer.lua以正确处理packages目录 - 更新pkg.lua程序适配新的包路径 - 添加示例包文件到新位置
10 lines
294 B
Lua
10 lines
294 B
Lua
-- example command completion
|
|
|
|
local shell = require('shell')
|
|
local completion = require('completion')
|
|
|
|
-- Set up completion for example command
|
|
shell.setCompletionFunction('example', completion.build({
|
|
-- 这里可以添加example命令的补全逻辑
|
|
completion.choice{'--help', '-h'}
|
|
})) |