1
0
mirror of https://github.com/nushell/nushell.git synced 2025-04-25 13:48:19 +02:00
nushell/crates/nu-command/src
WindSoilder d34581db4a
Rename: change the SyntaxShape of -c flag from list to record ()
# Description
Fixes:  
Also closes:  

# 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 () 2023-09-03 07:27:29 -07:00
charting Move Value to helpers, separate span call () 2023-09-03 07:27:29 -07:00
conversions new command: into value () 2023-09-20 12:57:58 -05:00
database Move Value to helpers, separate span call () 2023-09-03 07:27:29 -07:00
date Move Value to helpers, separate span call () 2023-09-03 07:27:29 -07:00
debug Invert &Options to Option<&T> () 2023-09-13 07:00:58 +08:00
env Fix editor config for reedline and config nu/env () 2023-09-29 16:36:03 +02:00
experimental Add functions for each Value case () 2023-07-21 08:20:33 -05:00
filesystem Making open case-insensitive to file extensions () 2023-09-29 17:20:59 +02:00
filters Rename: change the SyntaxShape of -c flag from list to record () 2023-09-30 08:59:47 -05:00
formats Invert &Options to Option<&T> () 2023-09-13 07:00:58 +08:00
generators Move Value to helpers, separate span call () 2023-09-03 07:27:29 -07:00
hash Move Value to helpers, separate span call () 2023-09-03 07:27:29 -07:00
help Move Value to helpers, separate span call () 2023-09-03 07:27:29 -07:00
math Move Value to helpers, separate span call () 2023-09-03 07:27:29 -07:00
misc REFACTOR: move source out of deprecated commands () 2023-05-04 00:02:03 +02:00
network Add support for HTTP proxy in network commands () 2023-09-27 15:43:34 +08:00
path Move Value to helpers, separate span call () 2023-09-03 07:27:29 -07:00
platform Bump dialoguer to 0.11.0 () 2023-09-26 18:00:16 +02:00
random Rename random integer to random int () 2023-09-28 11:47:05 +02:00
removed Rename misused "deprecation" to removal () 2023-08-15 07:17:31 +12:00
shells Fix usage for the exit command. () 2023-06-16 10:09:02 +02:00
strings Remove str replace --string after deprecation () 2023-09-19 15:54:20 +02:00
system Ps: add cwd column on linux and macos () 2023-09-14 08:10:15 -05:00
viewers nu-table: Add table option --abbreviated () 2023-09-20 12:59:08 -05:00
default_context.rs Rename random integer to random int () 2023-09-28 11:47:05 +02:00
example_test.rs enable/update some example tests so they work again () 2023-08-19 09:06:59 -05:00
lib.rs Move eval_hook to nu-cmd-base () 2023-08-29 23:46:50 +02:00
progress_bar.rs cp progress bar implementation () 2023-02-22 11:57:38 -08:00
sort_utils.rs Use slices directly instead of &Vec () 2023-09-12 11:38:20 +08:00