aliases.get_target
Return the target associated with an alias
CLI Example:
salt '*' aliases.get_target alias
aliases.rm_alias
Remove an entry from the aliases file
CLI Example:
salt '*' aliases.rm_alias alias
aliases.has_target
Return true if the alias/target is set
CLI Example:
salt '*' aliases.has_target alias target
aliases.set_target
Set the entry in the aliases file for the given alias, this will overwrite
any previous entry for the given alias or create a new one if it does not
exist.
CLI Example:
salt '*' aliases.set_target alias target
aliases.list_aliases
Return the aliases found in the aliases file in this format::
{'alias': 'target'}
CLI Example:
salt '*' aliases.list_aliases
我是分割线