jgsogo / jcli-conan-center

A plugin for JFrog CLI to manage a ConanCenter-like repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[feat] Implement piping from one command to the next

jgsogo opened this issue · comments

With piping, you can search for a reference and then get the JSON to populate the database:

jfrog conan-center search <repo>  --ref-name=b2 --only-latest | jfrog conan-center index-reference --force

and it will iterate references returned by the search command and call index-reference with each of them.