<div align="center">
rupass is a command line and geek style password manager written in Rust.
<br/>
<a href="https://crates.io/crates/rupass"><img alt="crates.io" src="https://img.shields.io/badge/crates.io-v0.1.2-brightgreen" /></a>
<a href="https://blog.rust-lang.org/2022/07/19/Rust-1.62.1.html"><img alt="Rust Version" src="https://img.shields.io/badge/rust-1.62%2B-blue" /></a>
</div>
## 🍻 Features
- Built with [Sled](https://github.com/spacejam/sled) 、 [inquire](https://github.com/mikaelmello/inquire) and [clap](https://github.com/clap-rs/clap)
- Offer add、delete、search functions now
## 🧸 Installation
To install rupass, use package manager:
`cargo install rupass`
By default, this command will download the crate and compile the binary file and then copy it to `~/.cargo/bin/`, if you have already set enviroment variables, you can run with `rupass` then.
## 🎡 Usage
Run `rupass --help` to see the details:

### 🌴 Init
First you need to init your database to store your account info, the default dir is in your home dir: e.g.`~/.rupass`.
```bash
rupass init
```
You need an entry password you must remember, but now, it's no use, maybe in use few days later.

### ☘️ Add password
```bash
rupass add
```
You need input info below:
- website/app keywords
- username
- password(default display with `*`, you can show it with `Ctrl+R`)
- notes

### 🍀 Search password
```bash
rupass search
```
Just input the keyword, there is a suggester for you! You can select which you want.

### 🍁 Delete password
```bash
rupass delete
```
You need input the entire account info, such as `baidu.com<admin>`.
in fact, you don't need to input the entire info, just select from the suggester which you need to delete.
