Skip to content

Commit

Permalink
Support requesting no metrics in CLI tools
Browse files Browse the repository at this point in the history
The service will soon support requesting states without a metric. This
adds support for this feature in the CLI tool.
  • Loading branch information
cwasicki committed Nov 12, 2024
1 parent 7abbc9c commit d6d09a4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/frequenz/client/reporting/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ def main() -> None:
parser.add_argument(
"--metrics",
type=str,
nargs="+",
nargs="*",
choices=[e.name for e in Metric],
help="List of metrics to process",
required=True,
required=False,
default=[],
)
parser.add_argument(
"--states",
Expand Down

0 comments on commit d6d09a4

Please sign in to comment.