Alias
To use alias:
py
def commands():
alias('alias_command', 'command')To call alias with another alias:
py
def commands():
alias('alias_command', 'command')
alias('second_alias', 'rez env {this} -- alias_command && other_command')Rez properties with string format:
String items like {this}, {root} etc, doesn't work with string format ! Can be use like this:
py
def commands():
alias('alias_command', 'command')
alias('second_alias', 'rez env {} -- alias_command && other_command {}'.format(root, 'example params'))