nushell/crates/nu-command/src
WindSoilder d34581db4a
Rename: change the SyntaxShape of -c flag from list to record (#10526)
# Description
Fixes: #7085 
Also closes: #7526 

# User-Facing Changes
After this change, we need to use `-c` flag like this:
```nushell
[[a, b, c]; [1, 2, 3]] | rename -c { a: ham }
```
But we can rename many columns easily, here is another example:
```nushell
[[a, b, c]; [1, 2, 3]] | rename -c { a: ham, b: ham2 }
```
2023-09-30 08:59:47 -05:00
..
bytes Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
charting Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
conversions new command: into value (#10427) 2023-09-20 12:57:58 -05:00
database Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
date Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
debug Invert &Options to Option<&T> (#10315) 2023-09-13 07:00:58 +08:00
env Fix editor config for reedline and config nu/env (#10535) 2023-09-29 16:36:03 +02:00
experimental Add functions for each Value case (#9736) 2023-07-21 08:20:33 -05:00
filesystem Making open case-insensitive to file extensions (#10451) 2023-09-29 17:20:59 +02:00
filters Rename: change the SyntaxShape of -c flag from list to record (#10526) 2023-09-30 08:59:47 -05:00
formats Invert &Options to Option<&T> (#10315) 2023-09-13 07:00:58 +08:00
generators Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
hash Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
help Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
math Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
misc REFACTOR: move source out of deprecated commands (#9060) 2023-05-04 00:02:03 +02:00
network Add support for HTTP proxy in network commands (#10401) 2023-09-27 15:43:34 +08:00
path Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
platform Bump dialoguer to 0.11.0 (#10510) 2023-09-26 18:00:16 +02:00
random Rename random integer to random int (#10520) 2023-09-28 11:47:05 +02:00
removed Rename misused "deprecation" to removal (#10000) 2023-08-15 07:17:31 +12:00
shells Fix usage for the exit command. (#9450) 2023-06-16 10:09:02 +02:00
strings Remove str replace --string after deprecation (#10064) 2023-09-19 15:54:20 +02:00
system Ps: add cwd column on linux and macos (#10347) 2023-09-14 08:10:15 -05:00
viewers nu-table: Add table option --abbreviated (#10399) 2023-09-20 12:59:08 -05:00
default_context.rs Rename random integer to random int (#10520) 2023-09-28 11:47:05 +02:00
example_test.rs enable/update some example tests so they work again (#10058) 2023-08-19 09:06:59 -05:00
lib.rs Move eval_hook to nu-cmd-base (#10146) 2023-08-29 23:46:50 +02:00
progress_bar.rs cp progress bar implementation (#8012) 2023-02-22 11:57:38 -08:00
sort_utils.rs Use slices directly instead of &Vec (#10328) 2023-09-12 11:38:20 +08:00