Adds options var to CmdBatchCommands, CmdBatchCode

This commit is contained in:
BlauFeuer 2018-03-02 07:44:50 -05:00 committed by GitHub
parent 87316d8046
commit c29cb96e4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -237,6 +237,7 @@ class CmdBatchCommands(_COMMAND_DEFAULT_CLASS):
"""
key = "@batchcommands"
aliases = ["@batchcommand", "@batchcmd"]
options = ("interactive",)
locks = "cmd:perm(batchcommands) or perm(Developer)"
help_category = "Building"
@ -347,6 +348,7 @@ class CmdBatchCode(_COMMAND_DEFAULT_CLASS):
"""
key = "@batchcode"
aliases = ["@batchcodes"]
options = ("interactive", "debug")
locks = "cmd:superuser()"
help_category = "Building"