-
Notifications
You must be signed in to change notification settings - Fork 393
Closed as duplicate of#1263
Closed as duplicate of#1263
Copy link
Labels
status/duplicateThere were an existing issueThere were an existing issue
Description
In spring-shell 3.X.X this was a valid command:
@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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status/duplicateThere were an existing issueThere were an existing issue