mirror of
https://github.com/Hilbis/Hilbish
synced 2025-03-28 09:20:41 +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)
|
||||
end
|
||||
|
||||
--- Returns the current runner by name.
|
||||
--- @returns string
|
||||
function hilbish.runner.getCurrent()
|
||||
return currentRunner
|
||||
end
|
||||
|
||||
hilbish.runner.add('hybrid', function(input)
|
||||
local cmdStr = hilbish.aliases.resolve(input)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user