nushell/src
phiresky 42dbfd1fa0
SQLite History MVP with timestamp, duration, working directory, exit status metadata (#5721)
This PR adds support for an SQLite history via nushell/reedline#401

The SQLite history is enabled by setting history_file_format: "sqlite" in config.nu.

* somewhat working sqlite history
* Hook up history command
* Fix error in SQlitebacked with empty lines

When entering an empty line there previously was the "No command run"
error with `SqliteBackedHistory` during addition of the metadata

May be considered a temporary fix

Co-authored-by: sholderbach <sholderbach@users.noreply.github.com>
2022-06-14 22:53:33 +02:00
..
tests each while command (#5771) 2022-06-14 16:16:31 +02:00
config_files.rs SQLite History MVP with timestamp, duration, working directory, exit status metadata (#5721) 2022-06-14 22:53:33 +02:00
logger.rs add --perf cli param (#4391) 2022-02-09 16:08:16 -06:00
main.rs SQLite History MVP with timestamp, duration, working directory, exit status metadata (#5721) 2022-06-14 22:53:33 +02:00
README.md Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00
test_bins.rs Support binary data to stdin of run-external (#4984) 2022-03-27 15:35:59 +13:00
tests.rs Add known external tests (#5216) 2022-04-17 05:39:56 -05:00

Nushell REPL

This directory contains the main Nushell REPL (read eval print loop) as part of the CLI portion of Nushell, which creates the nu binary itself.

Current versions of the nu binary will use the Nu argument parsing logic to parse the commandline arguments passed to nu, leaving the logic here to be a thin layer around what the core libraries.