Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I specify the main class through CLI? #104

Open
tusharmath opened this issue Dec 29, 2021 · 2 comments
Open

How can I specify the main class through CLI? #104

tusharmath opened this issue Dec 29, 2021 · 2 comments

Comments

@tusharmath
Copy link

I want to specify the main class through cli. I have tried the following —

reStart/mainClass "example.HelloWorld"

But it doesn't work. What else can I do?

@jrudolph
Copy link
Member

You can try

set reStart / mainClass := "example.HelloWorld"

but it would be nicer if we also had something like runMain.

@tusharmath
Copy link
Author

Yes exactly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants