dev.jbang.source.sources.JshSource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jbang-cli Show documentation
Show all versions of jbang-cli Show documentation
JBang Command Line Interface
The newest version!
package dev.jbang.source.sources;
import java.util.function.Function;
import dev.jbang.source.*;
public class JshSource extends JavaSource {
public JshSource(ResourceRef script, Function replaceProperties) {
super(script, replaceProperties);
}
protected JshSource(ResourceRef ref, String script, Function replaceProperties) {
super(ref, script, replaceProperties);
}
@Override
public Builder getBuilder(BuildContext ctx) {
return () -> CmdGenerator.builder(ctx);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy