nushell/crates/nu-command
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
..
assets refactor html module (#5246) 2022-04-20 08:50:14 -05:00
src SQLite History MVP with timestamp, duration, working directory, exit status metadata (#5721) 2022-06-14 22:53:33 +02:00
tests Force floats to output a decimal in nuon (#5768) 2022-06-14 05:45:07 +12:00
build.rs Look up git commit hash ourselves, drop libgit2 dependency (#5548) 2022-05-16 13:57:25 +12:00
Cargo.toml SQLite History MVP with timestamp, duration, working directory, exit status metadata (#5721) 2022-06-14 22:53:33 +02:00
LICENSE Include license text in all crates (#5094) 2022-04-08 10:47:13 +02:00