Skip to content

Commit

Permalink
chore: update README with all features
Browse files Browse the repository at this point in the history
  • Loading branch information
millotp committed May 28, 2024
1 parent 52a8de0 commit 7eaee02
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 6 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,18 @@

All notable changes to this project will be documented in this file.

## [0.4.0] - 2024-05-27
## [0.4.2] - 2024-05-27

### 🐛 Bug Fixes

- *(delete)* Move up the path when deleting the last entry
- Add set_selected_item helper

### ⚙️ Miscellaneous Tasks

- *(ci)* Add create-release need

## [0.4.1] - 2024-05-27

### 🚀 Features

Expand All @@ -21,5 +32,6 @@ All notable changes to this project will be documented in this file.
- Better messages
- Add CI
- Add dependencies for ubuntu
- *(ci)* Add cache and release to crates.io

<!-- generated by git-cliff -->
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vaultwalker"
version = "0.4.2"
version = "0.4.3"
authors = ["Pierre Millot <millotpierre3@gmail.com>"]
license = "MIT"
description = "A CLI tool to browse Hashicorp Vault secrets"
Expand Down
20 changes: 17 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ vw -h

## Features

Navigate with the arrow to select any credentials, then use `P` to copy the path to the secret, or `S` to copy the secret itself.
Navigate with the arrow to select any credentials (or HJKL), then use `P` to copy the path to the secret, or `S` to copy the secret itself.

To add a new key:
- Navigate to the correct path and press `A`
Expand All @@ -50,10 +50,24 @@ To delete a key:
- Select the key you want to delete and press `D`
- Enter `yes` to confirm, then `Enter`

To rename a key:
- Select the key you want to rename and press `R`
- Write the new name of the key, press `Enter`

To quit the program press `Q` or `Ctrl+C`.
You can also press `C` to clear the cache refresh the current path.
To view the list of options at any time, press `O`.

## Development

Run with `cargo run secret/my_company`.
Clone the repository and run `cargo run secret/my_company`.

### Publishing

`cargo publish`
The changelog is generated with [git-cliff](https://git-cliff.org/), to update it run `git-cliff` and commit the changes.
Before publishing, follow these steps:
- Update the version in `Cargo.toml`
- Push your final commit `git push`
- Check that the CI is passing;
- Create a new tag with the version number `git tag 0.1.0`
- Push the tag `git push --tags`

0 comments on commit 7eaee02

Please sign in to comment.