From fdc207d6262dd2dd30323652bcf5d6bfab795a7b Mon Sep 17 00:00:00 2001 From: John Chavez Date: Fri, 27 Jan 2023 10:05:51 -0800 Subject: [PATCH] Add template info to docs/config --- docs/Config.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/Config.md b/docs/Config.md index 879c2787..af0a3026 100644 --- a/docs/Config.md +++ b/docs/Config.md @@ -104,6 +104,8 @@ customCommands: serviceNames: [] ``` +For a full list of template variables that are available (such as `{{ .Container.ID }}`), see the fields of our [Container struct](https://github.com/jesseduffield/lazydocker/blob/17fcdb2b202c18b340737c31ae5429fe0c1478a8/pkg/commands/container.go#L23-L43). For example, to write a command that uses a container's image ID, you can use `{{ .Container.Container.ImageID }}`. + ## Replacements You can add replacements like so: