Trying again

This commit is contained in:
Tristan Ancelet
2026-08-12 12:40:08 -05:00
parent fc592fee37
commit d02eded273
-2
View File
@@ -5,9 +5,7 @@ module CliGen
{% raise "ERROR : CliGen::Command.argument : First argument (#{variable}) must be a TypeDeclaration (ex: '<var> : <type> [= val]')" unless variable.is_a? TypeDeclaration %}
{% name = variable.var %}
{% type = variable.type %}
{% if type.resolve <= Array %}
{% delimiter = "," unless delimiter.is_a? StringLiteral %}
{% end %}
{% if short %}
{% raise "ERROR : CliGen::Command.argument(#{name}) : Provided short must be a string" unless short.is_a? StringLiteral %}
{% end %}