mirror of https://github.com/Hilbis/Hilbish
554 B
554 B
title | description | layout | menu | ||||
---|---|---|---|---|---|---|---|
Interface hilbish.aliases | command aliasing | doc |
|
Introduction
The alias interface deals with all command aliases in Hilbish.
Functions
add(alias, cmd)
This is an alias (ha) for the hilbish.alias
function.
delete(name)
Removes an alias.
list() -> aliases (table)
Get a table of all aliases, with string keys as the alias and the value as the command. @returns table<string, string>
resolve(alias) -> command (string)
Tries to resolve an alias to its command.