This pr adds to the new count command an output option. This allows the users of this command to also get a list of releases for future actions.
For example shipperctl count contender --decommissionedClusters="decommissioned-a,decommissioned-b" -o json
will output a json of the form
[{"namespace": "yfouquet","name": "reserve-backend-test-359dc193-0"},{"namespace": "yfouquet", "name": "reserve-backend-test-359dc193-0" },...]
which allows the user to handle these cases separately.
This pr adds to the new count command an output option. This allows the users of this command to also get a list of releases for future actions. For example
shipperctl count contender --decommissionedClusters="decommissioned-a,decommissioned-b" -o json
will output a json of the form[{"namespace": "yfouquet","name": "reserve-backend-test-359dc193-0"},{"namespace": "yfouquet", "name": "reserve-backend-test-359dc193-0" },...]
which allows the user to handle these cases separately.