Skip to content

Print only structured response at goose run --recipe #3736

@flat35hd99

Description

@flat35hd99

Please explain the motivation behind the feature request.
Does this feature solve a particular problem you have been experiencing? What opportunities or use cases would be unlocked with this feature?

I often embed goose as a tool in my shell scripts like:

NO_COLOR=1 goose run --recipe find_all_tasks | tail -n1 | jq '.tasks[]' | ...

The problems are

Describe the solution you'd like
A clear and concise description of what you want to happen.

One of:

  • Add a option --output-format=json
  • Add a option --machine-readable
  • Introduce breaking change into --quite option as I thought.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

  • I have verified this does not duplicate an existing feature request

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions