From febb4b3be735dd2a2f030973c4211a1a1cf39ffd Mon Sep 17 00:00:00 2001 From: Raphael Dittberner <raphael@dittberner.info> Date: Thu, 15 May 2025 17:24:35 +0200 Subject: [PATCH] clarified available commands --- main.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 0325eef..911c829 100755 --- a/main.py +++ b/main.py @@ -4,7 +4,14 @@ import yaml import argparse def main(): - parser = argparse.ArgumentParser() + parser = argparse.ArgumentParser(prog='podman-tool', + description='Utility for managing podman containers', + epilog=""" commands: create: create services specified in ptconfig.yml without starting; + start: start one specific service or all services at once; + stop: stop one specific service or all services at once; + shell: run a shell in an existing service; + karaf: run a karaf shell in an existing service (only useful for openHAB; + down: stop all services and delete their pods""") if "REPO" in os.environ: repo = os.environ['REPO'] + '/'