Skip to content

mmcquillan/hex-validate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hex Plugin - Validate

Plugin to validate input from the user.

{
  "rule": "example input validation for arguments",
  "match": "build*",
  "help": "build <branch> <version>"
  "actions": [
    {
      "type": "hex-validate",
      "command": "${hex.input.1}",
      "config": {
        "type": "string",
        "match_re": "/.+/",
        "match_list": "develop,master,release",
        "success": "Looks good!",
        "failure": "Validation failed :("
      }
    }
  ]
}

About

HexBot Plugin for Input Validation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages