diff options
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r-- | lib/bb/command.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py index f1abaf70d..21a6de0f6 100644 --- a/lib/bb/command.py +++ b/lib/bb/command.py @@ -145,6 +145,15 @@ class CommandsSync: """ command.cooker.shutdown(True) + def getAllKeysWithFlags(self, command, params): + """ + Returns a dump of the global state. Call with + variable flags to be retrieved as params. + """ + flaglist = params[0] + return command.cooker.getAllKeysWithFlags(flaglist) + getAllKeysWithFlags.readonly = True + def getVariable(self, command, params): """ Read the value of a variable from data |