All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.jbang.cli.CommaSeparatedConverter Maven / Gradle / Ivy

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