nushell/crates/nu-std/std
Bruce Weirdan 39b95fc59e
Environment-aware help for open and save (#15651)
# Description

This extends the documentation on the commands `open` and `save` can run
under the hood, and explicitly lists those, based on the current user
environment.

Also see [this discord
thread](https://discord.com/channels/601130461678272522/988303282931912704/1364930487092777020)

# User-Facing Changes

Users will be able to see the list of commands that `open` and `save`
can run, and the extensions that each command is run for, in `help open`
and `help save` respectively:

## `help open`

![image](https://github.com/user-attachments/assets/b245d12c-c6ef-4c6d-a9f1-6c5111cb0684)

## `help save`

![image](https://github.com/user-attachments/assets/e92ddb6b-6a1e-40cc-9139-78db8a921d4a)


# Tests + Formatting

All pass except for the ones that don't (and never did pass for me
before).

# After Submitting

No updates needed.
2025-05-03 17:07:39 -05:00
..
assert Replace "function" with "command" in several user-facing doc (#15129) 2025-02-17 14:10:38 -05:00
bench allow bench to handle larger numbers (#15162) 2025-02-25 15:02:42 +01:00
config Add env-conversions helpers to std (#15569) 2025-04-22 07:22:46 +08:00
dirs feat(std/dirs): retain state in subshells or with exec-restarts (#15080) 2025-02-11 19:51:43 -05:00
dt try to fix datetime-diff for ms, us, ns (#15537) 2025-04-10 06:52:11 -05:00
formats Replace "function" with "command" in several user-facing doc (#15129) 2025-02-17 14:10:38 -05:00
help Environment-aware help for open and save (#15651) 2025-05-03 17:07:39 -05:00
input Fix usages of fmt to format number (#15041) 2025-02-07 23:50:33 +01:00
iter Replace "function" with "command" in several user-facing doc (#15129) 2025-02-17 14:10:38 -05:00
log Improve std/log performance (#15614) 2025-04-22 13:00:20 -05:00
math Virtual std module subdirectories (#14040) 2024-10-10 06:56:37 -05:00
prelude Add category to pwd and banner commands (#15330) 2025-03-17 20:22:01 +08:00
testing Custom command attributes (#14906) 2025-02-11 06:34:51 -06:00
util Fix path add bug when given a record (#15379) 2025-03-22 08:42:20 -04:00
xml Replace "function" with "command" in several user-facing doc (#15129) 2025-02-17 14:10:38 -05:00
mod.nu Replace "function" with "command" in several user-facing doc (#15129) 2025-02-17 14:10:38 -05:00