@Command(command = "cp", description = "Copy files (up to 5) from source to destination.")
public void copy(
@Option(longNames = {"copy1", ""}, required = true, arityMin = 2, arityMax = 2) List<String> copy1,
@Option(arityMin = 2, arityMax = 2) List<String> copy2,
@Option(arityMin = 2, arityMax = 2) List<String> copy3,
@Option(arityMin = 2, arityMax = 2) List<String> copy4,
@Option(arityMin = 2, arityMax = 2) List<String> copy5,
@Option(arityMin = 2, arityMax = 2) List<String> copy6
) throws FileServiceException {
// Logic omitted
}
In spring-shell 4.0.X there is no way listed in the docs to migrate without loosing this functionality?
Feels like the migration guide is missing information about this.