Crate nu_cli

Source
Expand description

This crate implements the core functionality of the interactive Nushell REPL and interfaces with reedline. Currently implements the syntax highlighting and completions logic. Furthermore includes a few commands that are specific to reedline

§Internal Nushell crate

This crate implements components of Nushell and is not designed to support plugin authors or other users directly.

Structs§

EvaluateCommandsOpts
FileCompletion
NuCompleter
NuHelpCompleter
NuHighlight
NuHighlighter
NuValidator
NushellPrompt
Nushell prompt definition
Print
SemanticSuggestion

Enums§

SuggestionKind

Functions§

add_cli_context
eval_config_contents
eval_source
evaluate_commands
Run a command (or commands) given to us by the user
evaluate_file
Entry point for evaluating a file.
evaluate_repl
The main REPL loop, including spinning up the prompt itself.
gather_parent_env_vars