nushell/crates/nu-cli/Cargo.toml
Herlon Aguiar 4d7b86f278
nu-cli: added tests for file completions (#5232)
* nu-cli: added tests for file completions

* test adding extra sort

* Feature/refactor completion options (#5228)

* Copy completion filter to custom completions

* Remove filter function from completer

This function was a no-op for FileCompletion and CommandCompletion.
Flag- and VariableCompletion just filters with `starts_with` which
happens in both completers anyway and should therefore also be a no-op.
The remaining use case in CustomCompletion was moved into the
CustomCompletion source file.

Filtering should probably happen immediately while fetching completions
to avoid unnecessary memory allocations.

* Add get_sort_by() to Completer trait

* Remove CompletionOptions from Completer::fetch()

* Fix clippy lints

* Apply Completer changes to DotNuCompletion

* add os to $nu based on rust's understanding (#5243)

* add os to $nu based on rust's understanding

* add a few more constants

Co-authored-by: Richard <Tropid@users.noreply.github.com>
Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2022-04-20 16:54:00 +12:00

31 lines
944 B
TOML

[package]
authors = ["The Nushell Project Developers"]
description = "CLI-related functionality for Nushell"
edition = "2021"
license = "MIT"
name = "nu-cli"
version = "0.61.1"
[dev-dependencies]
nu-test-support = { path="../nu-test-support", version = "0.61.1" }
nu-command = { path = "../nu-command", version = "0.61.1" }
[dependencies]
nu-engine = { path = "../nu-engine", version = "0.61.1" }
nu-path = { path = "../nu-path", version = "0.61.1" }
nu-parser = { path = "../nu-parser", version = "0.61.1" }
nu-protocol = { path = "../nu-protocol", version = "0.61.1" }
nu-utils = { path = "../nu-utils", version = "0.61.1" }
nu-ansi-term = "0.45.1"
nu-color-config = { path = "../nu-color-config", version = "0.61.1" }
crossterm = "0.23.0"
miette = { version = "4.5.0", features = ["fancy"] }
thiserror = "1.0.29"
reedline = { version = "0.4.0", features = ["bashisms"]}
log = "0.4"
is_executable = "1.0.1"
[features]
plugin = []