2023-08-20 00:33:44 +00:00
![Vento ](https://git.sr.ht/~nixgoat/vento/blob/master/assets/logo.png "Vento" )
2022-09-28 17:52:36 +00:00
[![Latest version ](https://shields.io/crates/v/vento?color=red )](https://crates.io/crates/vento)
[![Downloads ](https://shields.io/crates/d/vento )](https://crates.io/crates/vento)
2022-11-16 14:52:41 +00:00
[![Licensed under GPLv3 ](https://shields.io/crates/l/vento )](https://git.sr.ht/~nixgoat/vento/tree/master/item/LICENSE.md)
2022-09-15 04:37:08 +00:00
Vento is a utility which allows you to manage your files as if you're playing an old text adventure. It's made in Rust and originally inspired by [Chesapeake's Inventory ](https://github.com/mothdotmonster/inventory ).
2022-09-28 20:45:52 +00:00
[![asciicast ](https://asciinema.org/a/524454.svg )](https://asciinema.org/a/524454)
2022-09-28 17:52:36 +00:00
## Installation
### 1) Cargo (Recommended)
Make sure Rust is installed, along with `cargo` , Rust's package manager.
```
$ cargo install vento
```
### 2) Manually
2022-09-15 04:37:08 +00:00
2022-09-28 17:52:36 +00:00
Clone the repository using `git` .
2022-09-15 04:37:08 +00:00
```
2022-11-16 14:52:41 +00:00
$ git clone https://git.sr.ht/~nixgoat/vento & & cd vento
2022-09-25 01:24:31 +00:00
```
2023-08-19 22:58:40 +00:00
Check out to the latest stable release.
```
$ git checkout v1.2
```
2022-09-28 17:52:36 +00:00
### 2.a) cargo-make
This install method additionally installs the manpages for Vento. Make sure Rust, `cargo` and `cargo-make` are installed.
2022-09-25 01:24:31 +00:00
```
$ cargo make install
```
2022-09-28 17:52:36 +00:00
### 2.b) Cargo
Make sure Rust is installed, along with `cargo` , Rust's package manager.
2022-09-25 01:24:31 +00:00
```
2022-09-15 04:37:08 +00:00
$ cargo install --path .
```
2022-09-28 17:52:36 +00:00
## Quick Start
After installing, run:
```
$ vento -i
```
This will create a `.vento` folder in your home directory, which will store your inventories. Some basic commands include:
2022-09-15 04:37:08 +00:00
2022-09-28 17:52:36 +00:00
```
// listing files in the currently active inventory
$ vento
// switching inventory slots
$ vento -c
2022-10-26 20:14:36 +00:00
// undoing last action
2022-11-04 01:56:55 +00:00
$ vento -u
2022-10-26 20:14:36 +00:00
2022-09-28 17:52:36 +00:00
// taking a file or directory
$ take < file | directory >
// dropping a file or directory
$ drop < file | directory > [destination]
```
For additional documentation, you can check the documentation for each command by running the following.
```
$ (command) -h
```
Or, if Vento was installed through `cargo-make` , check the manpages by running:
```
$ man (command)
```
2022-09-15 04:37:08 +00:00
## Credits
2022-09-15 04:45:12 +00:00
- [Chesapeake ](https://moth.monster/ ) for the original concept
2022-11-16 14:52:41 +00:00
- [jo! ](https://sr.ht/~j0lol/ ) for helping me with Rust concepts!