the-bastion/bin/plugin/admin/adminSudo.json

11 lines
482 B
JSON
Raw Normal View History

2020-10-16 00:32:37 +08:00
{
"interactive": [
"adminSudo" , { "ac" : ["-- --sudo-as"]},
"adminSudo -- --sudo-as" , { "ac" : ["<ACCOUNT>" ]},
"adminSudo -- --sudo-as \\S+" , { "ac" : ["--sudo-cmd" ]},
"adminSudo -- --sudo-as \\S+ --sudo-cmd" , { "ac" : ["<COMMAND>" ]},
"adminSudo -- --sudo-as \\S+ --sudo-cmd \\S+" , { "ac" : ["--" ]},
"adminSudo -- --sudo-as \\S+ --sudo-cmd \\S+ --" , { "pr" : ["<enter> or additional COMMAND-specific options" ]}
2020-10-16 00:32:37 +08:00
]
}