nushell/crates/nu_plugin_inc
Antoine Stevan 710349768f
remove the --encoding option from register in the examples (#8038)
# Description
As `register` does not have `--encoding` as an option now, the [*Git
stat plugin for
Nushell*](https://github.com/nushell/nushell/tree/main/crates/nu_plugin_gstat#git-stat-plugin-for-nushell)
is not correct anymore

```
> register ~/.local/share/cargo/bin/nu_plugin_gstat --encoding msgpack
Error: nu::parser::unknown_flag (link)

  × The `register` command doesn't have flag `encoding`.
   ╭─[entry #22:1:1]
 1 │ register ~/.local/share/cargo/bin/nu_plugin_gstat --encoding msgpack
   ·                                                   ─────┬────
   ·                                                        ╰── unknown flag
   ╰────
  help: Available flags: --help(-h), --shell(-s). Use `--help` for more information.
```

This PR then simply removes `--encoding msgpack` from the `register`
call in the documentation of the `gstat` plugin.

# User-Facing Changes
There is no user-facing change in this PR.

# Tests + Formatting
This PR does not change any source code.

# After Submitting
Same here, nothing to report 😉
2023-02-11 13:13:40 +00:00
..
src Make plugin commands support examples. (#7984) 2023-02-08 16:14:18 -06:00
Cargo.toml Bump to 0.75.1 development version (#7930) 2023-01-31 23:55:29 +01:00
README.md remove the --encoding option from register in the examples (#8038) 2023-02-11 13:13:40 +00:00

Incrementor 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>