diff --git a/CHANGES.md b/CHANGES.md index 5fc5e25..cdf5f72 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 1.0.1 +- ✨ Read out local `trove.yml` file in current directory if available ( Edit ~/.config/hoard/config.yml `read_from_current_directory` to disable ) +- ✨ `hoard set_parameter_token` to customize which parameter token is used +- ✨ `hoard info` shows where `config.yml` and `trove.yml` files are located ## 🚀 1.0.0 - ✨ Advanced export allowing subset of namespaces or commands to be exported - 🐛 Fix bug where selecting a command when running `hoard` as a `zsh` plugin produces gibberish rendered text in the terminal diff --git a/Cargo.lock b/Cargo.lock index ebba72f..4305d64 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -223,15 +223,15 @@ dependencies = [ [[package]] name = "crossterm" -version = "0.22.1" +version = "0.23.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c85525306c4291d1b73ce93c8acf9c339f9b213aef6c1d85c3830cbf1c16325c" +checksum = "a2102ea4f781910f8a5b98dd061f4c2023f479ce7bb1236330099ceb5a93cf17" dependencies = [ "bitflags", "crossterm_winapi", "libc", - "mio 0.7.14", - "parking_lot 0.11.2", + "mio", + "parking_lot", "signal-hook", "signal-hook-mio", "winapi", @@ -472,7 +472,7 @@ dependencies = [ [[package]] name = "hoard-rs" -version = "1.0.0" +version = "1.0.1" dependencies = [ "anyhow", "array_tool", @@ -688,19 +688,6 @@ version = "0.3.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2a60c7ce501c71e03a9c9c0d35b861413ae925bd979cc7a4e30d060069aaac8d" -[[package]] -name = "mio" -version = "0.7.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc" -dependencies = [ - "libc", - "log", - "miow", - "ntapi", - "winapi", -] - [[package]] name = "mio" version = "0.8.3" @@ -713,15 +700,6 @@ dependencies = [ "windows-sys", ] -[[package]] -name = "miow" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21" -dependencies = [ - "winapi", -] - [[package]] name = "native-tls" version = "0.2.10" @@ -740,15 +718,6 @@ dependencies = [ "tempfile", ] -[[package]] -name = "ntapi" -version = "0.3.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c28774a7fd2fbb4f0babd8237ce554b73af68021b5f695a3cebd6c59bac0980f" -dependencies = [ - "winapi", -] - [[package]] name = "num-integer" version = "0.1.45" @@ -844,17 +813,6 @@ dependencies = [ "vcpkg", ] -[[package]] -name = "parking_lot" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99" -dependencies = [ - "instant", - "lock_api", - "parking_lot_core 0.8.5", -] - [[package]] name = "parking_lot" version = "0.12.0" @@ -862,21 +820,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "87f5ec2493a61ac0506c0f4199f99070cbe83857b0337006a30f3e6719b8ef58" dependencies = [ "lock_api", - "parking_lot_core 0.9.3", -] - -[[package]] -name = "parking_lot_core" -version = "0.8.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216" -dependencies = [ - "cfg-if", - "instant", - "libc", - "redox_syscall 0.2.13", - "smallvec", - "winapi", + "parking_lot_core", ] [[package]] @@ -1225,7 +1169,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "29ad2e15f37ec9a6cc544097b78a1ec90001e9f71b81338ca39f430adaca99af" dependencies = [ "libc", - "mio 0.7.14", + "mio", "signal-hook", ] @@ -1418,10 +1362,10 @@ dependencies = [ "bytes", "libc", "memchr", - "mio 0.8.3", + "mio", "num_cpus", "once_cell", - "parking_lot 0.12.0", + "parking_lot", "pin-project-lite", "signal-hook-registry", "socket2", @@ -1510,9 +1454,9 @@ checksum = "59547bce71d9c38b83d9c0e92b6066c4253371f15005def0c30d9657f50c7642" [[package]] name = "tui" -version = "0.17.0" +version = "0.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23ed0a32c88b039b73f1b6c5acbd0554bfa5b6be94467375fd947c4de3a02271" +checksum = "96fe69244ec2af261bced1d9046a6fee6c8c2a6b0228e59e5ba39bc8ba4ed729" dependencies = [ "bitflags", "cassowary", diff --git a/Cargo.toml b/Cargo.toml index 1f19803..7ca174a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "hoard-rs" -version = "1.0.0" +version = "1.0.1" edition = "2021" readme = "README.md" license = "MIT" @@ -42,7 +42,7 @@ log = "0.4" eyre = "0.6" simple_logger = "2.1.0" prettytable-rs = "0.8.0" -tui = { version = "0.17.0", features = ["termion"]} +tui = { version = "0.18.0", features = ["termion"]} chrono = { version = "0.4", features = ["serde"] } rand = { version = "0.8.4", default-features = false, features = ["std"] } thiserror = "1.0" diff --git a/README.md b/README.md index a1d1ad9..4ae2236 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ Install `hoard` by running If you are running `fish` shell ``` -LATEST_RELEASE=1.0.0 ./install.fish +LATEST_RELEASE=1.0.1 ./install.fish ``` ### Brew on MacOS @@ -144,6 +144,7 @@ hoard list When running `hoard list` as a shell plugin and selecting a parameterized command, `hoard` will ask for all missing parameters to input before sending the complete command to your shell input. If there is a `trove.yml` file present in the local directory, `hoard` will only load this trove file and not display your "global" trove! +( Edit ~/.config/hoard/config.yml `read_from_current_directory` to disable ) #### Delete a command diff --git a/example_troves/git.yml b/example_troves/git.yml index ce8a99d..c7de8c6 100644 --- a/example_troves/git.yml +++ b/example_troves/git.yml @@ -1,5 +1,5 @@ --- -version: 1.0.0 +version: 1.0.1 commands: - name: git_status namespace: git diff --git a/install.sh b/install.sh index 2097758..810d80a 100755 --- a/install.sh +++ b/install.sh @@ -42,7 +42,7 @@ __hoard_install_with_cargo(){ __hoard_install_ubuntu(){ echo "Assuming Ubuntu distro. Trying to install .deb package" - ARTIFACT_URL="https://github.com/hyde46/hoard/releases/download/v1.0.0/hoard_1.0.0.deb" + ARTIFACT_URL="https://github.com/hyde46/hoard/releases/download/v1.0.1/hoard_1.0.1.deb" TEMP_DEB="$(mktemp)" && wget -O "$TEMP_DEB" "$ARTIFACT_URL" diff --git a/src/resources/cli.yaml b/src/resources/cli.yaml index a881796..4b56830 100644 --- a/src/resources/cli.yaml +++ b/src/resources/cli.yaml @@ -1,5 +1,5 @@ name: hoard -version: "1.0.0" +version: "1.0.1" settings: - ArgRequiredElseHelp args: