diff --git a/README.md b/README.md index e4605cf..800ee55 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,14 @@ # bitwarden-proton-sync -This is a cron-based CLI tool to sync Bitwarden to Proton Pass. +This is a simple CLI tool to sync Bitwarden to Proton Pass. It can be set up as a cron jo to automate the syncing. ### Runtime requirements: - `pass-cli` - Proton Pass CLI (must be logged in) +- `rbw` - Unofficial Bitwarden CLI (must be logged in) -### Building +### Running ```sh -cargo build +cargo run ``` diff --git a/src/main.rs b/src/main.rs index 2cd5bc6..63031c9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -37,6 +37,7 @@ fn main() -> Result<(), Error> { let items = pass::get_items(&vault).items; println!("{:?}", items[0]); + println!("{}", items.len()); return Ok(()); }