navi/Cargo.toml

38 lines
857 B
TOML
Raw Normal View History

2020-03-04 21:01:23 +00:00
[package]
name = "navi"
2020-07-10 13:10:38 +00:00
version = "2.7.1"
2020-03-04 21:01:23 +00:00
authors = ["Denis Isidoro <denis_isidoro@live.com>"]
edition = "2018"
2020-03-15 22:47:00 +00:00
description = "An interactive cheatsheet tool for the command-line"
homepage = "https://github.com/denisidoro/navi"
documentation = "https://github.com/denisidoro/navi"
repository = "https://github.com/denisidoro/navi"
2020-03-15 22:49:38 +00:00
keywords = ["cheatsheets", "terminal", "cli", "tui", "shell"]
2020-03-15 22:47:00 +00:00
categories = ["command-line-utilities"]
license = "Apache-2.0"
2020-03-04 21:01:23 +00:00
2020-03-16 06:16:48 +00:00
[badges]
travis-ci = { repository = "denisidoro/navi", branch = "master" }
2020-03-04 21:01:23 +00:00
[dependencies]
regex = "1.3.4"
structopt = "0.3"
termion = "1.5.5"
2020-03-07 21:03:51 +00:00
raw_tty = "0.1.0"
lazy_static = "1.4.0"
Initial cheat repo support (#258) This PR makes navi stop bundling `.cheat` files and makes it able to download from repos on GitHub, using a standardized config directory. - it fixes #233 and #237 - it makes #52, #256 and #257 much easier to implement - it makes #40 harder to implement - it's an alternate solution to #140 - it's influenced by #238 and #254. This PR ended up being much bigger than I would like so if you could review only this description it would be already very nice! When navi is started for the first time, a welcome cheatsheet is shown: ![Screenshot at 2020-03-15 10-20-04](https://user-images.githubusercontent.com/3226564/76702240-19fffd80-66a7-11ea-884f-97c565bc1ead.png) If the user selects the first option, the user is prompted to download `.cheat`s from https://github.com/denisidoro/cheats: ![Screenshot at 2020-03-15 10-20-35](https://user-images.githubusercontent.com/3226564/76702239-19fffd80-66a7-11ea-8f69-324f669b1e01.png) ![Screenshot at 2020-03-15 10-22-59](https://user-images.githubusercontent.com/3226564/76702236-18363a00-66a7-11ea-8ff4-53b497f85888.png) The config folder is populated: ![Screenshot at 2020-03-15 10-21-11](https://user-images.githubusercontent.com/3226564/76702238-19676700-66a7-11ea-8367-3e7b5733f2b4.png) When run again, cheats are available: ![Screenshot at 2020-03-15 10-21-34](https://user-images.githubusercontent.com/3226564/76702237-19676700-66a7-11ea-9c2a-d8829340f3e9.png) ### Breaking changes In order to make navi stop bundling shell widgets as well, a breaking change has been introduced: `source $(navi widget bash)` won't work anymore. It should be `source <(navi widget bash)` now. Any ideas on how to make this transition more graceful?
2020-03-15 16:46:58 +00:00
dirs = "2.0.0"
terminal_size = "0.1.10"
2020-03-15 17:06:25 +00:00
walkdir = "2"
shellwords = "1.0.0"
2020-03-20 21:51:07 +00:00
anyhow = "1.0.27"
2020-03-22 16:37:20 +00:00
thiserror = "1.0.12"
2020-03-15 17:06:25 +00:00
[lib]
name = "navi"
path = "src/lib.rs"
2020-03-15 22:47:00 +00:00
[[bin]]
name = "navi"
path = "src/bin/main.rs"
bench = false