microsoft / data-formulator

🪄 Create rich visualizations with AI
https://arxiv.org/abs/2408.16119
MIT License
1.35k stars 73 forks source link

Add CLI option to set the port #39

Closed timotk closed 1 month ago

timotk commented 1 month ago

Solves #38

Set the port:

 data_formulator -p 5001

This will also give a --help option:

$ data_formulator --help

usage: data_formulator [-h] [-p PORT]

Data Formulator

options:
  -h, --help       show this help message and exit
  -p, --port PORT  The port number you want to use
timotk commented 1 month ago

@microsoft-github-policy-service agree

Chenglong-MS commented 1 month ago

this is fantastic, I'll update the document and redeploy. Thanks for the contribution!