32 lines
678 B
Markdown
32 lines
678 B
Markdown
# bw-get: a CLI tool for Bitwarden
|
|
|
|
## Installation
|
|
|
|
Requirements
|
|
- Python > 3.9
|
|
- pipx
|
|
- An already configured and logged-in (`bw login`) Bitwarden CLI
|
|
|
|
```bash
|
|
git clone https://git.fabianvk.nl/faab/bw_get.git
|
|
cd bw_get/
|
|
pipx install .
|
|
```
|
|
|
|
## Usage
|
|
|
|
```
|
|
# Optionally unlock the vault, so you're not prompted for master password every time
|
|
$ export BW_SESSION=`bw unlock --raw`
|
|
|
|
$ bw-get test
|
|
? Select item test.example.nl (faab)
|
|
name : test.example.nl
|
|
id : 4afbb65b-c6c5-4035-9cb7-52d0b827a1da
|
|
url : http://test.example.nl/phpmyadmin/
|
|
username : faab
|
|
password : SecretPassword
|
|
|
|
Password has been copied to the clipboard.
|
|
```
|