lazygit/pkg/integration/tests/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
..
access_commit_properties.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
basic_command.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
check_for_conflicts.go Change customCommand fields to pointers 2025-02-28 10:00:59 +01:00
custom_commands_submenu.go Add a root item ("/") if files at top level have changed 2025-03-21 08:04:58 +01:00
form_prompts.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
global_context.go Don't set showOutput explicitly 2025-02-28 10:00:59 +01:00
menu_from_command.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
menu_from_commands_output.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
multiple_contexts.go Don't set showOutput explicitly 2025-02-28 10:00:59 +01:00
multiple_prompts.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
run_command.go Add runCommand function to Go template syntax 2025-04-09 10:44:36 +02:00
selected_commit.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
selected_commit_range.go Expose {{.SelectedCommitRange}} to custom commands 2025-01-27 08:53:50 +01:00
selected_path.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
show_output_in_panel.go Change customCommand fields to pointers 2025-02-28 10:00:59 +01:00
suggestions_command.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
suggestions_preset.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00