File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11"""
22This script includes docstring for elapi. The docstrings are mainly meant to be used with a CLI interface.
33"""
4- from ..configuration import APP_NAME
4+ from ..configuration import APP_NAME , DEFAULT_EXPORT_DATA_FORMAT
55from ..styles import BaseFormat
66
77supported_highlighting_formats = ", " .join (
4040 f"If _--format/-F_ is absent, then { APP_NAME } can use the file extension as the data format. "
4141 f"If _--format/-F_ is also present, then file extension is ignored, and --format value takes precedence." ,
4242 "data_format" : f"Format style for the output. Supported values are: { supported_highlighting_formats } . "
43- "The values are case insensitive. The default format is `JSON `. "
43+ f "The values are case insensitive. The default format is `{ DEFAULT_EXPORT_DATA_FORMAT . upper () } `. "
4444 "When 'txt' is used, the response will be sent in *original*, un-formatted (almost), "
4545 "without syntax highlighting. This can be utilized if one wishes to pipe the output "
4646 " to some external formatting program like `less`. "
You can’t perform that action at this time.
0 commit comments