jesseduffield / jesseduffield/lazydocker

Custom command params substitution

Open
#449 5 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
52.8k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

thanks for this tool. small issue:

**Describe the bug**
on latest master (as of 12may), custom command parameter subsitution is not working. The bug does **not** appear on latest relase.

**To Reproduce**
1. build from master as of 12 may
2. use this example custom command
```
customCommands:
containers:
- name: bash
attach: true
command: 'docker exec -it {{ .Container.ID }} bash'
serviceNames: []
```
3. try to launch the custom command
`Container.ID` does not get correctly subsituted. it stay as it when sent to bash

ENV:
ubuntu 20.04, x86

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.