Add "summary" feature to CLI.