mirror of
https://github.com/unixtensor/proxmox-ntfy.git
synced 2025-06-28 12:48:06 +00:00
Use local machine time instead of unix for messages and have better timestamp formatting
This commit is contained in:
@ -1,12 +1,5 @@
|
||||
import argparse
|
||||
|
||||
_ntfy_configure_prompt = """\033[4mPlease configure an ntfy url before starting.\033[0m
|
||||
Examples:
|
||||
\033[32mpython3 main.py 10.0.13.37:42069
|
||||
python3 main.py ntfy.domain.com\033[0m
|
||||
|
||||
Use \033[32m-h\033[0m or \033[32m--help\033[0m for a full list of options."""
|
||||
|
||||
def Interface():
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument("server_address", help="The ntfy server address.")
|
||||
|
Reference in New Issue
Block a user