4 ms·
Likewise with Apache Groovy, which has optional typing: #!/usr/bin/env groovy // @Grab annotation won't work in scripts import static groovy.grape.
by dmux 8y ago
Likewise with Apache Groovy, which has optional typing:
#!/usr/bin/env groovy
// @Grab annotation won't work in scripts
import static groovy.grape.Grape.grab
grab(group: 'org.apache.commons', module: 'commons-csv', version: '1.5')
println "Starting to parse CSV"
- blattimwind 8y agoKotlin can do it, too: https://github.com/holgerbrandl/kscript https://github.com/holgerbrandl/kscript