Describe your feature request
Add something like advanced run?
What problem(s) would this feature solve?
Likely adding command line arguments to it like this
Adding this, surely would solve all problems with testing CLI apps
Explain what you were trying to do when you came across the problem leading to this feature request
I’ve always need to write python main.py <arguments if i needed to add some arguments to my program.
if you want to customize your run command, you can open the “.replit” file (might be hidden) and look for the part that says python main.py. This is the command that will be run, and you can edit it to your liking.
The run variable is often absent from the most recent templates.
In the hidden .replit file, there is an entrypoint variable that specifies the file to be run if there is no run variable (the default).
Add a run variable to override this:
run = ["python", "-i", "main.py"]
# or
run = "python -i main.py"
Also note that you can manually edit sys.argv at the start of your program as it is mutable.