From 2b4d0803fb70bb191f6aa4cf854313f1e11b9f63 Mon Sep 17 00:00:00 2001 From: YozoraXCII <96386153+YozoraXCII@users.noreply.github.com> Date: Mon, 4 Mar 2024 15:33:49 +0000 Subject: [PATCH] [Docs] Add "combining Commands or Variables" admonition --- docs/pmm/environmental.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/pmm/environmental.md b/docs/pmm/environmental.md index fc43efc8..f0142fde 100644 --- a/docs/pmm/environmental.md +++ b/docs/pmm/environmental.md @@ -30,6 +30,22 @@ those two things in two different fields, or some other way. The examples below environment variable in a script or a `docker run` command. Things like Portainer or a NAS Docker UI will have different ways to specify these things. +???+ warning "Combining Commands or Variables" + +![img.png](img.png) Some Commands or Variables can be combined in a single run, this is mainly beneficial when you want to run a specific command and have it run immediately rather than waiting until the next scheduled run. + + For example, if I want to run [Collections Only](#collections-only) to only run Collection Files, and [Run Immediately](#run) to skip waiting until my next scheduled run, I can use both commands at the same time: + + !!! example + === "Local Environment" + ``` + python plex_meta_manager.py --collections-only --run + ``` + === "Docker Environment" + ``` + docker run -it -v "X:\Media\Plex Meta Manager\config:/config:rw" meisnate12/plex-meta-manager --collections-only --run + ``` + ??? blank "Config Location      `-c`/`--config`      `PMM_CONFIG`ΒΆ"
Specify the location of the configuration YAML file. Will default to `config/config.yml` when not