Skip to content

ZettaScaleLabs/nuze

Repository files navigation

Nuze

A Nu shell for Zenoh: debug systems, write (end-to-end) tests and build powerful CLI tools

Crates.io Nushell 0.114.0 Zenoh 1.9.0

Built by the Zenoh team at ZettaScale

Demo

asciicast

Usage

Nuze is available on crates.io:

cargo install nuze --locked

A REPL instance supports multiple Zenoh sessions each identified with a name (a Nu string). On startup, a session named default is created. All commands use this session unless the argument --session (-s) is supplied:

$ nuze
41aa8953> zenoh session list
╭───┬─────────┬──────────────────────────────────╮
│ # │  name   │               zid                │
├───┼─────────┼──────────────────────────────────┤
│ 0 │ default │ 41aa8953ad1abda60a9149e25c54067d │
╰───┴─────────┴──────────────────────────────────╯
41aa8953> zenoh zid -s default --short
41aa8953

If you would like to start Nuze without the default session, use the --no-default-session (-0) argument.

The Nuze CLI can be consulted with:

nuze --help

To get the list of available commands:

41aa8953> help zenoh

All zenoh ... commands are also available under the shorter z ... prefix:

41aa8953> z session list
41aa8953> z zid --short

To get help on a specific command:

41aa8953> help zenoh liveliness declare-token

Version matrix

Nuze version Nushell version Zenoh version
v0.1.0 0.106.1 1.6.2
v0.2.0 0.106.1 1.7.1
v0.3.0 0.112.1 1.9.0
v0.4.0 0.114.0 1.9.0

About

A Nu shell for Zenoh: debug systems, write (end-to-end) tests and build powerful CLI tools

Resources

License

Stars

20 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages