mirror of
https://github.com/fergalmoran/xtreamium.git
synced 2025-12-26 11:40:57 +00:00
Initial commit
This commit is contained in:
10
server/args.py
Normal file
10
server/args.py
Normal file
@@ -0,0 +1,10 @@
|
||||
import argparse
|
||||
|
||||
|
||||
def get_args():
|
||||
parser = argparse.ArgumentParser(description='Xtream Arguments')
|
||||
|
||||
parser.add_argument('--host', type=str, default='localhost', help='Host address to listen on (default localhost)')
|
||||
parser.add_argument('--port', type=int, default=9531, help='Port to listen on (default 9531)')
|
||||
|
||||
return parser.parse_args()
|
||||
Reference in New Issue
Block a user