Open ssbarnea opened 7 years ago
seq 3 | yaml set test.yaml number should create a file with this content:
seq 3 | yaml set test.yaml number
number: - 1 - 2 - 3
Mainly what it happens is that each stdin line is treated as an argument. That's a standard behaviour for most CLI tools that accept input.
stdin
This is a very important feature as it allows use of UNIX pipes for processing data.
seq 3 | yaml set test.yaml number
should create a file with this content:Mainly what it happens is that each
stdin
line is treated as an argument. That's a standard behaviour for most CLI tools that accept input.This is a very important feature as it allows use of UNIX pipes for processing data.