added two __main__.py for cli and server
This commit is contained in:
parent
073fcfa14d
commit
5cf9fe9f3e
8
src/wormhole/__main__.py
Normal file
8
src/wormhole/__main__.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
if __name__ != "__main__":
|
||||
raise ImportError('this module should not be imported')
|
||||
|
||||
|
||||
from .cli import cli
|
||||
|
||||
|
||||
cli.wormhole()
|
8
src/wormhole/server/__main__.py
Normal file
8
src/wormhole/server/__main__.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
if __name__ != "__main__":
|
||||
raise ImportError('this module should not be imported')
|
||||
|
||||
|
||||
from wormhole.server import cli
|
||||
|
||||
|
||||
cli.server()
|
Loading…
Reference in New Issue
Block a user