Skip to content

stormasm/nucli-reed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nu-cli-reed

I have developed a nushell cli that depends on reedline instead of rustyline and developed a nu crate called nu-cli-reed.

Every time a new release of nushell comes out I update the cli code with the latest nu-cli crate and then remove all of the dependencies on rustyline and add back in the reedline code.

This code is packaged as a nu crate called nu-cli-reed.

The Cargo.toml file keys off the new released nushell crates along with a code snapshot of an internal reedline crate.

Because a reedline crate is not yet published I reference my own internal reedline crate.

History command called rlh

The main features that works is history... There are obviously no completions as in nushell that currently depends on rustyline.

There are two histories ---- the nushell history and the reedline history [the reedline history uses a command rlh] which is a hack as I didn't want to have to modify any other crates in nushell.

How to run the code

cargo run

How to run the example code

cargo run --example reed
cargo run --example repl

Integrate reedline into nushell

For the initial code we use this commit point:

Working commit points

July 26, 2021, version 0.34.0 5822306
July 13, 2021, version 0.34.0 e95d8465
June 13, 2021, version 0.33.0 7257797

About

nushell cli based on reedline

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages