Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrxiaozhuox/nu_plugin_sled
A Nushell plugin for managing sled databases.
https://github.com/mrxiaozhuox/nu_plugin_sled
Last synced: 18 days ago
JSON representation
A Nushell plugin for managing sled databases.
- Host: GitHub
- URL: https://github.com/mrxiaozhuox/nu_plugin_sled
- Owner: mrxiaozhuox
- License: mit
- Created: 2024-11-18T09:52:56.000Z (24 days ago)
- Default Branch: main
- Last Pushed: 2024-11-18T10:09:06.000Z (24 days ago)
- Last Synced: 2024-11-18T11:03:19.170Z (24 days ago)
- Language: Rust
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nu - nu_plugin_sled
README
## nu_plugin_sled
This plugin can help you manage your [`sled`](https://github.com/spacejam/sled?tab=readme-ov-file) database in nushell.
### Usage:
```nushell
> { name: "nu_plugin_sled", id: 1, update_at: (date now) } | sled-save db> sled-open db
╭───────────┬────────────────╮
│ id │ 1 │
│ name │ nu_plugin_sled │
│ update_at │ 1731923169 │
╰───────────┴────────────────╯> sled-open db | update id 10086 | sled-save db
> sled-open db
╭───────────┬────────────────╮
│ id │ 10086 │
│ name │ nu_plugin_sled │
│ update_at │ 1731923169 │
╰───────────┴────────────────╯
```### Data Structure
`nu_plugin_sled` using [`rmp-serde`](https://crates.io/crates/rmp-serde) convert struct & data to binary.