nushell/crates/nu-protocol/src/value
Antoine Stevan 7486850357
rename the types with spaces in them to use - (#9929)
# Description
before this PR,
```nushell
> $.a.b | describe
cell path
```
which feels inconsistent with the `cell-path` type annotation, like in
```nushell
> def foo [x: cell-path] { $x | describe }; foo $.a.b
cell path
```

this PR changes the name of the "cell path" type from `cell path` to
`cell-path`

# User-Facing Changes
`cell path` is now `cell-path` in the output of `describe`.
this might be a breaking change in some scripts.

same goes with
- `list stream` -> `list-stream`
- `match pattern` -> `match-pattern`

# Tests + Formatting
- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
-  `toolkit test`
-  `toolkit test stdlib`

this PR adds a new `cell_path_type` test to make sure it stays equal to
`cell-path` in the future.

# After Submitting

---------

Co-authored-by: Darren Schroeder <343840+fdncred@users.noreply.github.com>
2023-09-06 13:22:12 -05:00
..
custom_value.rs Fix to json for SQLite databases (#8343) 2023-03-06 14:36:26 -08:00
from_value.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
from.rs Spanned Value step 1: span all value cases (#10042) 2023-08-25 08:48:05 +12:00
lazy_record.rs Create Record type (#10103) 2023-08-25 07:50:29 +12:00
mod.rs rename the types with spaces in them to use - (#9929) 2023-09-06 13:22:12 -05:00
range.rs Auto format let-else block (#10214) 2023-09-04 19:42:31 +12:00
record.rs Create Record type (#10103) 2023-08-25 07:50:29 +12:00
stream.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
unit.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00