dev.jbang.cli.CommaSeparatedConverter 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.cli;
import java.util.Arrays;
import java.util.List;
import picocli.CommandLine.ITypeConverter;
public class CommaSeparatedConverter implements ITypeConverter> {
@Override
public List convert(final String input) throws Exception {
return Arrays.asList(input.split(","));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy