Bump to 0.60 (#4892)

* WIP

* semi-revert metadata change
This commit is contained in:
JT
2022-03-23 07:32:03 +13:00
committed by GitHub
parent 352cf31db2
commit 1c964cdfe7
53 changed files with 237 additions and 1425 deletions

View File

@@ -4,14 +4,14 @@ description = "A git status plugin for Nushell"
edition = "2021"
license = "MIT"
name = "nu_plugin_gstat"
version = "0.59.1"
version = "0.60.0"
[lib]
doctest = false
[dependencies]
nu-plugin = { path="../nu-plugin", version = "0.59.1" }
nu-protocol = { path="../nu-protocol", version = "0.59.1" }
nu-engine = { path="../nu-engine", version = "0.59.1" }
nu-plugin = { path="../nu-plugin", version = "0.60.0" }
nu-protocol = { path="../nu-protocol", version = "0.60.0" }
nu-engine = { path="../nu-engine", version = "0.60.0" }
git2 = "0.13.24"

View File

@@ -0,0 +1,13 @@
# Git stat plugin for Nushell
Note: this requires Nushell 0.60 or later
To install:
```
> cargo install --path .
```
To register (from inside Nushell):
```
> register <path to installed plugin> --encoding capnp

View File

@@ -1,6 +1,6 @@
use nu_plugin::{serve_plugin, CapnpSerializer};
use nu_plugin::{serve_plugin, JsonSerializer};
use nu_plugin_gstat::GStat;
fn main() {
serve_plugin(&mut GStat::new(), CapnpSerializer {})
serve_plugin(&mut GStat::new(), JsonSerializer {})
}

View File

@@ -6,7 +6,7 @@ impl Plugin for GStat {
fn signature(&self) -> Vec<Signature> {
vec![Signature::build("gstat")
.desc("Get the git status of a repo")
.optional("path", SyntaxShape::String, "path to repo")
.optional("path", SyntaxShape::Filepath, "path to repo")
.category(Category::Custom("Prompt".to_string()))]
}