nushell/crates/nu-cmd-lang/src/core_commands
Stefan Holderbach 067ceedf79
Remove feat extra and include in default (#12140)
# Description
The intended effect of the `extra` feature has been undermined by
introducing the full builds on our release pages and having more
activity on some of the extra commands.

To simplify the feature matrix let's get rid of it and focus our effort
on truly either refining a command to well-specified behavior or
discarding it entirely from the `nu` binary and moving it into plugins.

## Details
- Remove `--features extra` from CI
- Don't explicitly name `extra` in full build wf
- Remove feature extra from build-help scripts
- Update README in `nu-cmd-extra`
- Remove feature `extra`
- Fix previously dead `format pattern` tests
- Relax signature of `to html`
- Fix/ignore `html::test_no_color_flag`
- Remove dead features from `version`
- Refine `to html` type signature

# User-Facing Changes
The commands that were previously only available when building with
`--features extra` will now be available to everyone. This increases the
number of dependencies slightly but has a limited impact on the overall
binary size.

# Tests + Formatting
Some tests that were left in `nu-command` during cratification were dead
because the feature was not passed to `nu-command` and only to
`nu-cmd-lang` for feature-flag mention in `version`.
Those tests have now been either fixed or ignored in one case.

# After Submitting
There may be places in the documentation where we point to `--features
extra` that will now be moot (apart from the generated command help)
2024-03-10 17:29:02 +01:00
..
overlay Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00
scope Change category of scope commands to core (#10892) 2023-10-30 19:55:40 +01:00
alias.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
break_.rs Convert remainder of ShellError variants to named fields (#11276) 2023-12-09 18:46:21 -06:00
collect.rs Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00
const_.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
continue_.rs Convert remainder of ShellError variants to named fields (#11276) 2023-12-09 18:46:21 -06:00
def.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
describe.rs open, rm, umv, cp, rm and du: Don't globs if inputs are variables or string interpolation (#11886) 2024-02-23 09:17:09 +08:00
do_.rs Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00
echo.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
error_make.rs Fix incorrect handling of boolean flags for builtin commands (#11492) 2024-01-11 17:19:48 +02:00
export.rs Move Value to helpers, separate span call (#10121) 2023-09-03 07:27:29 -07:00
export_alias.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
export_const.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
export_def.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
export_extern.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
export_module.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
export_use.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
extern_.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
for_.rs Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00
hide.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
hide_env.rs Fix incorrect handling of boolean flags for builtin commands (#11492) 2024-01-11 17:19:48 +02:00
if_.rs Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00
ignore.rs Change the ignore command to use drain() instead of collecting a value (#12120) 2024-03-08 02:18:26 -05:00
lazy_make.rs Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00
let_.rs Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00
loop_.rs Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00
match_.rs Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00
mod.rs Keep plugins persistently running in the background (#12064) 2024-03-09 17:10:22 -06:00
module.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
mut_.rs Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00
plugin.rs Keep plugins persistently running in the background (#12064) 2024-03-09 17:10:22 -06:00
plugin_list.rs Keep plugins persistently running in the background (#12064) 2024-03-09 17:10:22 -06:00
plugin_stop.rs Keep plugins persistently running in the background (#12064) 2024-03-09 17:10:22 -06:00
register.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
return_.rs Enforce required, optional, and rest positional arguments start with an uppercase and end with a period. (#11285) 2023-12-15 14:32:37 +08:00
try_.rs Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00
use_.rs Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00
version.rs Remove feat extra and include in default (#12140) 2024-03-10 17:29:02 +01:00
while_.rs Debugger experiments (#11441) 2024-03-08 20:21:35 +02:00