Coverage for /usr/local/lib/python3.10/site-packages/opal_common-0.0.0-py3.10.egg/opal_common/cli/docs.py: 0%

4 statements  

« prev     ^ index     » next       coverage.py v7.15.2, created at 2026-10-10 11:54 +0000

1class MainTexts: 

2 def __init__(self, first_line, name): 

3 self.header = f"""\b 

4 {first_line} 

5 Open-Policy Administration Layer - {name}\b\f""" 

6 

7 self.docs = f"""\b 

8 Config top level options: 

9 - Use env-vars (same as cmd options) but uppercase 

10 and with "_" instead of "-"; all prefixed with "OPAL_" 

11 - Use command line options as detailed by '--help' 

12 - Use .env or .ini files 

13 

14 \b 

15 Examples: 

16 - opal-{name} --help Detailed help on CLI 

17 - opal-{name} run --help Help on run command 

18 - opal-{name} run --engine-type gunicorn Run {name} with gunicorn 

19 \b 

20 """