71 Main entry point into the application. |
78 Main entry point into the application. |
72 """ |
79 """ |
73 parser = createArgumentParser() |
80 parser = createArgumentParser() |
74 args = parser.parse_args() |
81 args = parser.parse_args() |
75 |
82 |
76 server = EricServer(port=args.port, useIPv6=args.with_ipv6) |
83 if not args.client_id: |
|
84 print( |
|
85 "You should consider to add a client ID string in order to allow\n" |
|
86 "the eric-ide server to check, if received messages have been sent\n" |
|
87 "by a valid eric IDE.\n" |
|
88 ) |
|
89 |
|
90 server = EricServer(port=args.port, useIPv6=args.with_ipv6, clientId=args.client_id) |
77 ok = server.run() |
91 ok = server.run() |
78 |
92 |
79 sys.exit(0 if ok else 1) |
93 sys.exit(0 if ok else 1) |
80 |
94 |
81 |
95 |