CommandsConfig.defaults constructor
CommandsConfig.defaults()
Implementation
factory CommandsConfig.defaults() {
return CommandsConfig(
mode: 'whitelist',
allowed: [
'help',
'info',
'classes',
'version',
'status',
'.load',
'.replay',
'.history',
'print',
'clear',
],
blocked: [
'Process.run',
'Process.start',
'File.delete',
'Directory.delete',
'exit',
'quit',
],
);
}