Skip to content

Add support for limiting output #5516

@remyleone

Description

@remyleone

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

It would be helpful to add support limiting the output of a list function using for instance a --limit or a way to only output the field that are relevant. The template output allow to do that but this logic could be extended to reduce the amount of token used by the output of a command.

How I imagine scw could expose this functionality

scw instance server list --fields "ID, region"

References

Metadata

Metadata

Assignees

Labels

agentAll the issues related to make the CLI work better with coding agentsenhancementpriority:lowestLowest priority such as new ideas and unproved/unrequested featuresux

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions