pipe init
Synopsis
pipe init <name>Description
Creates a new pipeline with a starter template.
- Local pipeline (
pipe init deploy): Creates~/.pipe/files/deploy.yamlwith a starter template. - Hub pipeline (
pipe init myorg/deploy): Creates the Hub directory structure under~/.pipe/hub/myorg/deploy/with alatesttag, blob store, and index. Automatically creates an alias if no conflict.
Arguments
| Argument | Description |
|---|---|
<name> | Pipeline name (e.g., deploy) or Hub path (e.g., myorg/deploy) |
Flags
None.
Name restrictions
Pipeline names cannot conflict with reserved command words: init, list, validate, cache, login, logout, pull, push, mv, alias, inspect, switch.
Examples
# Create a local pipelinepipe init deploy
# Create a Hub pipeline (with auto-alias)pipe init myorg/deploy