Skip to content

Commit

Permalink
fix #25: Add IFEQ option to SET command
Browse files Browse the repository at this point in the history
  • Loading branch information
px86 committed Jan 23, 2025
1 parent 92107ce commit c8d2c77
Show file tree
Hide file tree
Showing 3 changed files with 106 additions and 4 deletions.
30 changes: 26 additions & 4 deletions hack/cmds/commands.json
Original file line number Diff line number Diff line change
Expand Up @@ -5050,10 +5050,32 @@
},
{
"name": "condition",
"type": "enum",
"enum": [
"NX",
"XX"
"type": "oneof",
"arguments": [
{
"name": "nx",
"type": "pure-token",
"token": "NX"
},
{
"name": "xx",
"type": "pure-token",
"token": "XX"
},
{
"type": "block",
"arguments": [
{
"name": "ifeq",
"type": "pure-token",
"token": "IFEQ"
},
{
"name": "comparison-value",
"type": "string"
}
]
}
],
"optional": true
},
Expand Down
69 changes: 69 additions & 0 deletions internal/cmds/gen_string.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions internal/cmds/gen_string_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c8d2c77

Please sign in to comment.