nushell/crates/nu-cli/src
Kevin DCR b6363f3ce1
Added new flag '--all/-a' for Ls, also refactor some code (#1483)
* Utility function to detect hidden folders.
Implemented for Unix and Windows.

* Rename function argument.

* Revert "Rename function argument."

This reverts commit e7ab70f0f0.

* Add flag '--all/-a' to Ls

* Rename function argument.

* Check if flag '--all/-a' is present and path is hidden.
Replace match with map_err for glob result.
Remove redundancy in stream body.
Included comments on new stream body.
Replace async_stream::stream with async_stream::try_stream.
Minor tweaks to is_empty_dir.
Fix and refactor is_hidden_dir.

* Fix "implicit" bool coerse

* Fixed clippy errors
2020-03-14 06:27:04 +13:00
..
commands Added new flag '--all/-a' for Ls, also refactor some code (#1483) 2020-03-14 06:27:04 +13:00
data Added new flag '--all/-a' for Ls, also refactor some code (#1483) 2020-03-14 06:27:04 +13:00
env Fix whitespace and typos (#1481) 2020-03-14 06:23:41 +13:00
evaluate Merge env into $nu and simplify table/get (#1463) 2020-03-08 18:33:30 +13:00
format Merge env into $nu and simplify table/get (#1463) 2020-03-08 18:33:30 +13:00
shell Added new flag '--all/-a' for Ls, also refactor some code (#1483) 2020-03-14 06:27:04 +13:00
utils Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
cli.rs Merge shuffle nu plugin as core command. (#1475) 2020-03-10 17:00:08 -05:00
commands.rs Merge shuffle nu plugin as core command. (#1475) 2020-03-10 17:00:08 -05:00
context.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
data.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
deserializer.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
env.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
format.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
futures.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
git.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
lib.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
prelude.rs Don't emit a newline in autoview. (#1466) 2020-03-09 08:18:24 +13:00
shell.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00
stream.rs Move to bytes/string hybrid codec (#1457) 2020-03-07 05:06:39 +13:00
utils.rs Move most of the root package into a subcrate. (#1445) 2020-03-04 13:58:20 -05:00