Getting Started
Installation
Install the latest release with go install:
bash
go install github.com/pipectl/pipectl/cmd/pipectl@latestOr build from source:
bash
git clone https://github.com/pipectl/pipectl.git
cd pipectl
go build ./cmd/pipectlVerify the installation:
bash
pipectl --helpYour first pipeline
Create a pipeline file:
yaml
# greet.yaml
id: greet
input:
format: json
steps:
- normalize:
fields:
name: capitalize
- select:
fields: [name, email]
output:
format: jsonCreate some input:
bash
echo '[{"name":"alice smith","email":"ALICE@EXAMPLE.COM"},{"name":"bob jones","email":"BOB@EXAMPLE.COM"}]' > people.jsonRun it:
bash
pipectl run greet.yaml < people.jsonOr use --input instead of stdin redirection:
bash
pipectl run greet.yaml --input people.jsonOutput:
json
[{"email":"ALICE@EXAMPLE.COM","name":"Alice Smith"},{"email":"BOB@EXAMPLE.COM","name":"Bob Jones"}]Validate without running
Use --dry-run to check a pipeline is valid and see the planned steps without executing anything:
bash
pipectl run greet.yaml --dry-runPipeline: greet
Steps:
1. normalize
2. selectWrite output to a file
By default pipectl writes to stdout. Use -o to write to a file instead:
bash
pipectl run greet.yaml -o output.json < people.jsonEnable verbose logging
Use --verbose to see per-step detail — record counts, field operations, sort results — written to stderr:
bash
pipectl run greet.yaml --verbose < people.jsonNext steps
- Read Core Concepts to understand how pipelines, steps, and payloads fit together
- Browse the Step Reference to see all available steps
- Explore Example Pipelines for real-world patterns