the-bastion/bin/plugin/restricted/accountGrantCommand.json

11 lines
488 B
JSON
Raw Normal View History

2020-10-16 00:32:37 +08:00
{
"interactive": [
"accountGrantCommand" , {"ac" : ["--account"]},
"accountGrantCommand --account" , {"ac" : ["<ACCOUNT>"]},
"accountGrantCommand --account \\S+" , {"ac" : ["--command"]},
"accountGrantCommand --account \\S+ --command" , {"ac" : ["<RESTRICTED_COMMAND>"]},
"accountGrantCommand --account \\S+ --command \\S+" , {"pr" : ["<enter>"]}
],
"master_only": true
}