Skip to content

Script with a main method is not run in kscript #31

@xgouchet

Description

@xgouchet

I'm using IntelliJ to write kotlin script. In order to make my script valid with IntelliJ inspections, I'm defining a standard main method. The problem is that when running my file from kscript, my main method is not run at all.

Is there a special action to run the main method from the command line ?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions