Skip to content

Feat: Add support for Click multi-commands in ANTA CLI #746

@carl-baillargeon

Description

@carl-baillargeon

The end goal is to be able to do the following when running anta nrfu:

  • anta nrfu table --> Like today; Table output to the screen
  • anta nrfu csv --> No output to the screen, save in a CSV file
  • anta nrfu table csv --> Table output + save to a CSV
  • anta nrfu csv table --> Same as above

This flexible structure would also be available for other formats like anta nrfu json, anta nrfu md-report, etc.

https://click.palletsprojects.com/en/8.1.x/commands/#custom-multi-commands
https://click.palletsprojects.com/en/8.1.x/commands/#multi-command-pipelines
https://click.palletsprojects.com/en/8.1.x/commands/#multi-command-chaining

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions