copy

open override fun <AllT, ValueT> copy(transformValue: ArgValueTransformer<ValueT>, transformAll: ArgCallsTransformer<AllT, ValueT>, validator: ArgValidator<AllT>, name: String, nvalues: Int, required: Boolean, helpGetter: HelpTransformContext.() -> String?, helpTags: Map<String, String>, completionCandidates: CompletionCandidates?): ProcessedArgument<AllT, ValueT>

Create a new argument that is a copy of this one with different transforms.


open override fun copy(validator: ArgValidator<AllT>, name: String, nvalues: Int, required: Boolean, helpGetter: HelpTransformContext.() -> String?, helpTags: Map<String, String>, completionCandidates: CompletionCandidates?): ProcessedArgument<AllT, ValueT>

Create a new argument that is a copy of this one with the same transforms.