File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 3
3
4
4
Usage:
5
5
tabpy [-h] | [--help]
6
- tabpy [--config <CONFIG>]
6
+ tabpy [--config <CONFIG>] [--disable-auth-warning]
7
7
8
8
Options:
9
- -h --help Show this screen.
10
- --config <CONFIG> Path to a config file.
9
+ -h --help Show this screen.
10
+ --config <CONFIG> Path to a config file.
11
+ --disable-auth-warning Disable authentication warning.
11
12
"""
12
13
13
14
import docopt
@@ -38,9 +39,13 @@ def main():
38
39
args = docopt .docopt (__doc__ )
39
40
config = args ["--config" ] or None
40
41
42
+ disable_auth_warning = False
43
+ if args ["--disable-auth-warning" ]:
44
+ disable_auth_warning = True
45
+
41
46
from tabpy .tabpy_server .app .app import TabPyApp
42
47
43
- app = TabPyApp (config )
48
+ app = TabPyApp (config , disable_auth_warning )
44
49
app .run ()
45
50
46
51
You can’t perform that action at this time.
0 commit comments