GithubHelp home page GithubHelp logo

nucli-reed's Introduction

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 13, 2021, version 0.34.0 e95d8465
June 13, 2021, version 0.33.0 7257797

nucli-reed's People

Contributors

stormasm avatar fdncred avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.