-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpolypy.py
More file actions
executable file
·35 lines (24 loc) · 849 Bytes
/
polypy.py
File metadata and controls
executable file
·35 lines (24 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env python3
"""PolyPy Command Line Provisioning Tool!
Usage: polypy.py [ -v ... ] [ options ] <command> [ <args> ... ]
Options:
-d Debug mode
-h Show this help screen
-v Be verbose. Levels 1-10 (or more).
-f, --force Do it anyway.
Commands:
configure Configure PolyPyTools.
provision Creates provisioning files for Polycom phones from asterisk's pjsip.conf.
pjsip Manage pjsip.conf
site Manage site files
version Show the version of this package
deploy Deploy files rendered to tftproot
See polypy help <command> for more information with a specific command.
"""
import os
import sys
from docopt import docopt
from poly_py_tools.polypy import Polypy
if __name__ == '__main__':
polypy = Polypy(docopt(__doc__, options_first=True))
polypy.run()