nushell/crates/nu-cmd-lang/src/core_commands
Antoine Stevan b58819d51e
deprecate extern-wrapped and export extern-wrapped (#10716)
follow-up to
- https://github.com/nushell/nushell/pull/10566

# Description
this PR deprecates the use of `extern-wrapped` and `export
extern-wrapped`

these two core commands will be removed in 0.88

# User-Facing Changes
using `extern-wrapped` will give a warning
```nushell
> extern-wrapped foo [...args] { print "foo" }; foo
Error:   × Deprecated command
   ╭─[entry #2:1:1]
 1 │ extern-wrapped foo [...args] { print "foo" }; foo
   · ───────┬──────
   ·        ╰── `extern-wrapped` is deprecated and will be removed in 0.88.
   ╰────
  help: Use `def --wrapped` instead


foo
```

# Tests + Formatting

# After Submitting
2023-10-19 13:50:00 +08:00
..
overlay Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
scope Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07: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 Input output checking (#9680) 2023-07-14 15:20:35 +12: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 remove let-env, focus on mutating $env (#9574) 2023-07-01 07:57:51 +12:00
def.rs Add --env and --wrapped flags to def (#10566) 2023-10-02 21:13:31 +03:00
describe.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
do_.rs Add long options for core and dataframes (#10619) 2023-10-06 18:55:29 +02:00
echo.rs Change echo to print when not redirected (#10338) 2023-09-13 06:35:01 +12:00
error_make.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07: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 remove let-env, focus on mutating $env (#9574) 2023-07-01 07:57:51 +12: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