mirror of https://github.com/Hilbis/Hilbish
feat: add function to get current runner name
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…
Reference in New Issue