mirror of
https://github.com/nushell/nushell.git
synced 2025-08-18 07:10:18 +02:00
# Description Fixes - #11065 Revised - #15092 Depends on - https://github.com/nushell/reedline/pull/933 Adds the `--accept` flag to the `commandline` command, to immediately accept the input. Example use case: atuin # User-facing changes Users get the ability to pass `--accept` or `-A` to `commandline edit` in order to immediately execute the resulting commandline. # Tests + Formatting I added two test cases that execute `commandline edit -A`. There is also some documentation about their unintuitive expectations output. # After Submitting The [docs](https://www.nushell.sh/commands/docs/commandline_edit.html) can be updated to the new flag: --accept, -A: immediately execute the command (no additional return required) > [!NOTE] > > This PR will be revised if / when https://github.com/nushell/reedline/pull/933 is accepted # Demo [](https://asciinema.org/a/Ql4r1oWu8J0C4MecmIZjxw5Pg)
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.