mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-17 12:06:38 +02:00
Add showOutput option to docs
This commit is contained in:
parent
e1f41b653c
commit
168fbe0a6c
@ -77,6 +77,7 @@ For a given custom command, here are the allowed fields:
|
|||||||
| loadingText | text to display while waiting for command to finish | no |
|
| loadingText | text to display while waiting for command to finish | no |
|
||||||
| description | text to display in the keybindings menu that appears when you press 'x' | no |
|
| description | text to display in the keybindings menu that appears when you press 'x' | no |
|
||||||
| stream | whether you want to stream the command's output to the Command Log panel | no |
|
| stream | whether you want to stream the command's output to the Command Log panel | no |
|
||||||
|
| showOutput | whether you want to show the command's output in a gui prompt | no |
|
||||||
|
|
||||||
### Contexts
|
### Contexts
|
||||||
|
|
||||||
@ -159,7 +160,7 @@ If your custom keybinding collides with an inbuilt keybinding that is defined fo
|
|||||||
|
|
||||||
### Debugging
|
### Debugging
|
||||||
|
|
||||||
If you want to verify that your command actually does what you expect, you can wrap it in an 'echo' call and set `subprocess: true` so that it doesn't actually execute the command but you can see how the placeholders were resolved. Alternatively you can run lazygit in debug mode with `lazygit --debug` and in another terminal window run `lazygit --logs` to see which commands are actually run
|
If you want to verify that your command actually does what you expect, you can wrap it in an 'echo' call and set `showOutput: true` so that it doesn't actually execute the command but you can see how the placeholders were resolved. Alternatively you can run lazygit in debug mode with `lazygit --debug` and in another terminal window run `lazygit --logs` to see which commands are actually run
|
||||||
|
|
||||||
### More Examples
|
### More Examples
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user