daytonaio / sample-python

MIT License
1 stars 2 forks source link

__main__.py: error: unrecognized arguments: run --no-debugger --no-reload #1

Open s-celles opened 6 days ago

s-celles commented 6 days ago

Hello,

I think README needs update

vscode ➜ /workspaces/sample-python (main) $ python --version
Python 3.12.7
vscode ➜ /workspaces/sample-python (main) $ python -m flask run --port 5000 --no-debugger --no-reload
usage: __main__.py [-h] [-w WORKSPACE] [-d DOMAIN] [-p [1024-65534]]
__main__.py: error: unrecognized arguments: run --no-debugger --no-reload

vscode ➜ /workspaces/sample-python (main) $ flask run
usage: flask [-h] [-w WORKSPACE] [-d DOMAIN] [-p [1024-65534]]
flask: error: unrecognized arguments: run

vscode ➜ /workspaces/sample-python (main) $ flask --help
usage: flask [-h] [-w WORKSPACE] [-d DOMAIN] [-p [1024-65534]]

options:
  -h, --help            show this help message and exit
  -w WORKSPACE, --workspace WORKSPACE
  -d DOMAIN, --domain DOMAIN
  -p [1024-65534], --port [1024-65534]

Best regards

s-celles commented 4 days ago

Running sample-python with Daytona and VS Code also raises this at VS Code startup when SSHing into default-xyz-sample-python

image