CLI: use global constants for output names

This commit is contained in:
Goffi 2021-09-08 11:13:35 +02:00
commit 2152d57887

View file

@ -54,6 +54,11 @@ class Const(constants.Const):
OUTPUT_XMLUI,
OUTPUT_LIST_XMLUI,
)
OUTPUT_NAME_SIMPLE = "simple"
OUTPUT_NAME_XML = "xml"
OUTPUT_NAME_XML_RAW = "xml-raw"
OUTPUT_NAME_JSON = "json"
OUTPUT_NAME_JSON_RAW = "json-raw"
# Pubsub options flags
SERVICE = "service" # service required