Allow to pass a JSON array/object as a target list to CLI - #281
Open
jay7x wants to merge 1 commit into
Open
Conversation
jay7x
force-pushed
the
json_stdin
branch
2 times, most recently
from
July 23, 2026 05:06
277eb22 to
9eff086
Compare
Contributor
|
Thanks for the PR. I am wondering if we should document this somewhere 🤔 |
Now it's possible to pass a `bolt plan run ... --format=json` output to another bolt invocation as target list (`bolt command run -t-` e.g.) Signed-off-by: Yury Bushmelev <jay4mail@gmail.com>
Contributor
Author
I added a line to guides/targets.yaml. Will have a look into openvox-docs also |
jay7x
pushed a commit
to OpenVoxProject/openvox-docs
that referenced
this pull request
Jul 23, 2026
This commit documents the change introduced in OpenVoxProject/openbolt#281. Signed-off-by: Yury Bushmelev <yury.bushmelev@fenix-one.com>
8 tasks
Contributor
Author
|
Added a PR to the docs repo. But not sure when to merge that, because it should be published after next openbolt release I guess.. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Short description
This PR expands formats, bolt CLI can accept from command line. Now JSON array of target names and JSON object of target items (
{"items": [{"target": "target"}, ...]}is supported. This allows to pass abolt ... run ... --format=jsonoutput to another bolt invocation as a target list (bolt ... run -t- ...e.g.)Checklist
I have:
Signed-off-byannotation to each of my commitsGenerated-byorAssisted-byannotations to each of my commits created with the help of an AI agent