Hilbish/emmyLuaDocs/hilbish.lua

85 lines
1.4 KiB
Lua
Raw Normal View History

2022-02-25 22:00:39 +00:00
--- @meta
local hilbish = {}
---
2022-02-26 15:37:02 +00:00
--- @param cmd string
--- @param orig string
function hilbish.alias(cmd, orig) end
2022-02-25 22:00:39 +00:00
---
2022-02-26 15:37:02 +00:00
--- @param dir string|table
function hilbish.appendPath(dir) end
2022-02-25 22:00:39 +00:00
---
2022-03-02 02:16:12 +00:00
--- @param scope string
--- @param cb function
function hilbish.complete(scope, cb) end
2022-02-25 22:00:39 +00:00
---
2022-02-25 22:00:39 +00:00
function hilbish.cwd() end
---
2022-02-26 15:37:02 +00:00
--- @param cmd string
function hilbish.exec(cmd) end
2022-02-25 22:00:39 +00:00
---
2022-02-26 15:37:02 +00:00
--- @param fn function
2022-03-04 18:41:22 +00:00
function hilbish.goro(fn) end
2022-02-25 22:00:39 +00:00
---
2022-04-22 02:22:20 +00:00
--- @param line string
function hilbish.highlighter(line) end
---
2022-04-22 02:22:20 +00:00
--- @param line string
--- @param pos int
function hilbish.hinter(line, pos) end
2022-03-26 21:34:42 +00:00
---
2022-03-02 02:16:12 +00:00
--- @param mode string
function hilbish.inputMode(mode) end
2022-03-02 02:01:22 +00:00
---
2022-02-26 15:37:02 +00:00
--- @param cb function
--- @param time number
2022-04-12 23:37:39 +00:00
--- @return table
2022-02-26 15:37:02 +00:00
function hilbish.interval(cb, time) end
2022-02-25 22:00:39 +00:00
---
2022-02-26 15:37:02 +00:00
--- @param str string
2022-04-04 10:40:25 +00:00
function hilbish.multiprompt(str) end
2022-02-25 22:00:39 +00:00
---
2022-03-02 02:16:12 +00:00
--- @param dir string
function hilbish.prependPath(dir) end
2022-02-25 22:00:39 +00:00
---
2022-02-26 15:37:02 +00:00
--- @param str string
2022-04-13 14:14:06 +00:00
--- @param typ string Type of prompt, being left or right. Left by default.
function hilbish.prompt(str, typ) end
2022-02-25 22:00:39 +00:00
---
2022-02-26 15:37:02 +00:00
--- @param prompt string
function hilbish.read(prompt) end
2022-02-25 22:00:39 +00:00
---
2022-02-26 15:37:02 +00:00
--- @param cmd string
function hilbish.run(cmd) end
2022-02-25 22:00:39 +00:00
---
2022-03-22 22:33:52 +00:00
--- @param mode string|function
function hilbish.runnerMode(mode) end
2022-03-20 19:16:13 +00:00
---
2022-02-26 15:37:02 +00:00
--- @param cb function
--- @param time number
2022-04-12 23:37:39 +00:00
--- @return table
2022-02-26 15:37:02 +00:00
function hilbish.timeout(cb, time) end
2022-02-25 22:00:39 +00:00
---
2022-03-02 02:16:12 +00:00
--- @param binName string
function hilbish.which(binName) end
2022-03-01 23:00:20 +00:00
2022-02-25 22:00:39 +00:00
return hilbish