Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
0

entrypoint key in .replit file

Hello! I have the following default .replit file for .NET Core 2.1:

run = "dotnet run" entrypoint = "main.cs" [env] DOTNET_SKIP_FIRST_TIME_EXPERIENCE = "true"

I want to understand how entrypoint works under the hood. Is it simply substituted into run command or not? Why not to use simple run without entrypoint?

1 year ago

Comments

TopNew
1
InvisibleOne
InvisibleOne

The default run command when you press the button will be something like run file.txt or something like that. Adding a .replit file just lets you change that command to something else.
When you run your repl, to start the file it runs that command like you would on your computer terminal, and then displays the results.

1 year ago
Load more