mirror of
https://github.com/Hilbis/Hilbish
synced 2025-03-31 02:33:23 +00:00
feat: add function to get current runner name
This commit is contained in:
parent
109b5785af
commit
d99e056a76
@ -75,6 +75,12 @@ function hilbish.runner.setCurrent(name)
|
|||||||
hilbish.runner.setMode(r.run)
|
hilbish.runner.setMode(r.run)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- Returns the current runner by name.
|
||||||
|
--- @returns string
|
||||||
|
function hilbish.runner.getCurrent()
|
||||||
|
return currentRunner
|
||||||
|
end
|
||||||
|
|
||||||
hilbish.runner.add('hybrid', function(input)
|
hilbish.runner.add('hybrid', function(input)
|
||||||
local cmdStr = hilbish.aliases.resolve(input)
|
local cmdStr = hilbish.aliases.resolve(input)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user