Bw list items --names-only

Feature name

  • bitwarden cli list command option to only fetch names.

Feature function

  • What will this feature do differently?
    • instead of the current bw list items fetching the entire list of a user’s entries, it will just fetch and display the names of their items.
  • What benefits will this feature bring?
    • I am the creator of bitwarden-dmenu - npm, its very handy for me to use, but there is a huge delay right after entering my password. I need to pass the names of all the items to dmenu so a user can select one. Grabbing all the data can be a 1-3 second delay. If I were able to filter down to just the names, or just the names + usernames, then the app could be a lot snappier.
    • I imagine any application that wants to build its own search functionality on top of the cli will also benefit from this (yes I know there is a --search command, but that requires reactive tools, and is slower than client side searching anyways).

Note that it is important that the change both fetches less data over http and displays less data to the user for this to actually improve speeds.