Skip to content

Commit 9e9fbf7

Browse files
authored
Drop experimental label from display_output hook (#1644)
As per comment nushell/nushell#14361 (comment) it's not clear what "experimental" would mean, the hook was introduced two years ago and has been stable since, and in #14361 there is a discussion about the hooks behavior but no indication that it would be dropped. Dropping the experimental label makes it more obvious that the hook is here to stay. If its behavior will change, it can be documented like usual in release breaking change notes (which would make sense anyway). As a drive-by text form fixup, drop the period from the last two list items. None of the other list items end in a period, which matches common form for [simple] lists.
1 parent 37dc16f commit 9e9fbf7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/hooks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ Currently, we support these types of hooks:
88
- `pre_prompt` : Triggered before the prompt is drawn
99
- `pre_execution` : Triggered before the line input starts executing
1010
- `env_change` : Triggered when an environment variable changes
11-
- `display_output` : A block that the output is passed to (experimental).
12-
- `command_not_found` : Triggered when a command is not found.
11+
- `display_output` : A block that the output is passed to
12+
- `command_not_found` : Triggered when a command is not found
1313

1414
To make it clearer, we can break down Nushell's execution cycle.
1515
The steps to evaluate one line in the REPL mode are as follows:

0 commit comments

Comments
 (0)