Aliases
What are aliases?
Aliases let you run Hub pipelines with a short name instead of the full owner/name path:
# Without aliaspipe myorg/deploy
# With aliaspipe deployAliases are stored in ~/.pipe/aliases.json.
Creating an alias
pipe alias add deploy myorg/deployThis maps deploy to myorg/deploy. When you run pipe deploy, Pipe resolves it through the alias.
Restrictions
- Alias names cannot conflict with reserved command words (
init,list,validate, etc.). - Alias names cannot shadow existing local pipeline files in
~/.pipe/files/.
Removing an alias
pipe alias rm deployReassigning an alias
Point an existing alias to a different target:
pipe alias mv deploy otherorg/deploy-v2Listing aliases
pipe alias listOr simply:
pipe aliasBoth show a table of all aliases and their targets.
Resolution order
When you run pipe <name>:
- Alias — checks
~/.pipe/aliases.jsonfor a matching alias - Hub — if the resolved name contains
/, looks up the Hub pipeline - Local — checks
~/.pipe/files/<name>.yaml
Auto-created aliases
Some commands create aliases automatically:
pipe init owner/name— creates an alias fromnametoowner/name(if no conflict)pipe mv local-name owner/name— creates an alias fromlocal-nametoowner/namepipe rm— cleans up aliases pointing to the removed pipeline