nushell/crates/nu-cmd-lang/src/core_commands
Ian Manske 59ea28cf06
Use Record::get instead of Value functions (#10925)
# Description
Where appropriate, this PR replaces instances of
`Value::get_data_by_key` and `Value::follow_cell_path` with
`Record::get`. This avoids some unnecessary clones and simplifies the
code in some places.
2023-11-08 21:47:37 +01:00
..
overlay Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
scope Change category of scope commands to core (#10892) 2023-10-30 19:55:40 +01:00
alias.rs Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
break_.rs Remove parser keywords label from commands that do not need it (#8780) 2023-04-07 01:12:21 +03:00
collect.rs Use Vec for Closure captures (#10940) 2023-11-08 00:43:28 +01:00
const_.rs Fix broken constants in scopes (#9679) 2023-07-14 00:02:05 +03:00
continue_.rs Remove parser keywords label from commands that do not need it (#8780) 2023-04-07 01:12:21 +03:00
def_env.rs deprecate def-env and export def-env (#10715) 2023-10-19 13:50:16 +08:00
def.rs Add --env and --wrapped flags to def (#10566) 2023-10-02 21:13:31 +03:00
describe.rs Reuse Closure type in Value::Closure (#10894) 2023-10-30 23:34:23 +01:00
do_.rs Use Vec for Closure captures (#10940) 2023-11-08 00:43:28 +01:00
echo.rs Change echo to print when not redirected (#10338) 2023-09-13 06:35:01 +12:00
error_make.rs Use Record::get instead of Value functions (#10925) 2023-11-08 21:47:37 +01:00
export_alias.rs Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
export_const.rs Module: support defining const and use const variables inside of function (#9773) 2023-08-01 07:09:52 +08:00
export_def_env.rs deprecate def-env and export def-env (#10715) 2023-10-19 13:50:16 +08:00
export_def.rs Add --env and --wrapped flags to def (#10566) 2023-10-02 21:13:31 +03:00
export_extern_wrapped.rs deprecate extern-wrapped and export extern-wrapped (#10716) 2023-10-19 13:50:00 +08:00
export_extern.rs Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
export_module.rs Allow creating modules from directories (#9066) 2023-05-06 21:39:54 +03:00
export_use.rs Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
export.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
extern_.rs Custom command input/output types (#9690) 2023-07-15 09:51:28 +12:00
extern_wrapped.rs deprecate extern-wrapped and export extern-wrapped (#10716) 2023-10-19 13:50:00 +08:00
for_.rs Use int type name consistently (#10579) 2023-10-03 18:24:32 +02:00
hide_env.rs remove let-env, focus on mutating $env (#9574) 2023-07-01 07:57:51 +12:00
hide.rs Uniformize usage() and extra_usage() message ending for commands helper. (#8268) 2023-02-28 21:33:02 -08:00
if_.rs Allow parse-time evaluation of if (#10326) 2023-09-12 21:35:47 +03:00
ignore.rs Allow parse-time evaluation of calls, pipelines and subexpressions (#9499) 2023-08-26 16:41:29 +03:00
lazy_make.rs Add long options for core and dataframes (#10619) 2023-10-06 18:55:29 +02:00
let_.rs fix 'let' to properly redirect (#10360) 2023-09-14 10:18:29 +12:00
loop_.rs Remove parser keywords label from commands that do not need it (#8780) 2023-04-07 01:12:21 +03:00
match_.rs Auto format let-else block (#10214) 2023-09-04 19:42:31 +12:00
mod.rs Allow exporting extern-wrapped (#10025) 2023-08-18 20:45:33 +03:00
module.rs Add --env and --wrapped flags to def (#10566) 2023-10-02 21:13:31 +03:00
mut_.rs fix input signature of let/mut (#9695) 2023-07-15 19:41:48 +12:00
register.rs Clarify how register works (#8583) 2023-03-23 13:02:22 -05:00
return_.rs allow return to return any nushell value (#10067) 2023-08-20 07:30:54 -05:00
try_.rs Change echo to print when not redirected (#10338) 2023-09-13 06:35:01 +12:00
use_.rs Add --env and --wrapped flags to def (#10566) 2023-10-02 21:13:31 +03:00
version.rs Allow parse-time evaluation of calls, pipelines and subexpressions (#9499) 2023-08-26 16:41:29 +03:00
while_.rs feat: Search terms for use, while, and range (#5093) (#10265) 2023-09-07 22:11:42 +02:00