lazygit/pkg/gui/services/custom_commands
Ruud Kamphuis 12820481e6 Add runCommand function to Go template syntax
This makes it possible to use date and time in initial values like this:

```yaml
initialValue: 'ruudk/{{ runCommand "date +\"%Y/%-m\"" }}/'
```

I want to use this to configure my BranchPrefix like this:

```yaml
git:
  branchPrefix: 'ruudk/{{ runCommand "date +\"%Y/%-m\"" }}/'
```
2025-04-09 10:44:36 +02:00
..
client.go Add commandMenu property to custom commands 2025-02-28 10:11:30 +01:00
handler_creator.go Add runCommand function to Go template syntax 2025-04-09 10:44:36 +02:00
keybinding_creator.go Extract a method CustomCommand.GetDescription 2025-02-28 10:00:59 +01:00
menu_generator.go Support using command output directly in menuFromCommand custom command prompt 2023-05-29 22:52:16 +10:00
menu_generator_test.go Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
models.go Fix wrong comment 2025-02-28 10:00:59 +01:00
resolver.go Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
session_state_loader.go Rename Name to Path in File and CommitFile 2025-03-20 12:31:34 +01:00