499903ab2b5d7f5d336ddcdfa65d6bdec95436ca
ci/woodpecker/tag/release Pipeline was successful
With piped input, `-C` skipped the query and counted the piped lines' second column, so `... | node-lookup -R -C` reported the upstream fact instead of each node's role. - query each piped node for `-R`/`-F` with `-C` and count the results - count piped lines directly only for bare `-C` with piped input; `-C` with `-j`/`-1`/`-2` still requires `-R`/`-F` - validate flags before reading stdin so invalid combos never block on an open pipe - add tests for piped count paths, rejected combos and validation ordering Reviewed-on: #22 Co-authored-by: unkin-agent <unkin-agent@unkin.net> Co-committed-by: unkin-agent <unkin-agent@unkin.net>
Description
A CLI tool written in Go that queries the PuppetDB API to look up and filter node facts.