Skip to content

Commit

Permalink
Print the total number of hits from all indices
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliGautier committed Nov 29, 2024
1 parent 73ecba0 commit f1d508b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arlas/cli/index.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def list_indices():
tab = PrettyTable(indices[0], sortby="name", align="l")
tab.add_rows(indices[1:])
print(tab)
print(f"Total count: {sum([int(index_info[2]) for index_info in indices[1:]])}")


@indices.command(help="Describe an index")
Expand Down

0 comments on commit f1d508b

Please sign in to comment.