mirror of
https://github.com/fergalmoran/xtreamium.git
synced 2025-12-22 09:41:33 +00:00
11 lines
354 B
Python
11 lines
354 B
Python
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()
|