def production(): "Production nodes" for node in instances('^production-'): use(node)
def nodes(exp): "Select nodes based on a regular expression" for node in instances(exp): use(node)
def all(): "All nodes" for node in instances(): use(node)
def preview(): "Preview nodes" for node in instances('^preview-'): use(node)
def exclude(exp): "Exclude nodes based on a regular expression" for node in instances(exp,env.nodes): unuse(node)