Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qwyng/harvest

stashes grep tool with rust
https://github.com/qwyng/harvest

Last synced: 2 days ago
JSON representation

stashes grep tool with rust

Awesome Lists containing this project

README

        

# harvest
![Regression](https://github.com/QWYNG/harvest/workflows/Regression/badge.svg)
CLI application that does your git stashes finds

## Install
- cargo
`cargo install harvest`
- Homebrew
`brew tap QWYNG/harvest`
`brew install harvest`

## How to use
```
USAGE:
harvest

ARGS:
pattern to search

FLAGS:
-h, --help Prints help information
-V, --version Prints version information
```
It looks up the diffs of all the git stashes and the current branch with pattern and outputs the stash as a stdout in the following format
```
harvest fn
stash@{0}: WIP on master: beb5221 rm tests module
src/bm.rs | 2 ++
1 file changed, 2 insertions(+)

stash@{1}: WIP on master: beb5221 rm tests module
src/lib.rs | 1 +
1 file changed, 1 insertion(+)
```