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'] + '/'