MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / register_commands

Function register_commands

keepercommander/commands/utils.py:191–213  ·  view source on GitHub ↗
(commands)

Source from the content-addressed store, hash-verified

189 del_obj['from_uid'] = folder.uid
190
191def register_commands(commands):
192 commands['sync-down'] = SyncDownCommand()
193 commands['this-device'] = ThisDeviceCommand()
194 commands['delete-all'] = RecordDeleteAllCommand()
195 commands['whoami'] = WhoamiCommand()
196 commands['proxy'] = ProxyCommand()
197 commands['login'] = LoginCommand()
198 commands['logout'] = LogoutCommand()
199 commands['check-enforcements'] = CheckEnforcementsCommand()
200 commands['accept-transfer'] = AcceptTransferCommand()
201 commands['delete-corrupted'] = DeleteCorruptedCommand()
202 commands['echo'] = EchoCommand()
203 commands['set'] = SetCommand()
204 commands['help'] = HelpCommand()
205 commands['secrets-manager'] = KSMCommand()
206 commands['version'] = VersionCommand()
207 commands['keep-alive'] = KeepAliveCommand()
208 commands['generate'] = GenerateCommand()
209 commands['reset-password'] = ResetPasswordCommand()
210 commands['sync-security-data'] = SyncSecurityDataCommand()
211 commands['blank-records'] = BlankRecordCommand()
212 commands['run-as'] = RunAsCommand()
213 commands['login-status'] = LoginStatusCommand()
214
215
216def register_command_info(aliases, command_info):

Callers

nothing calls this directly

Calls 15

SyncDownCommandClass · 0.85
ThisDeviceCommandClass · 0.85
WhoamiCommandClass · 0.85
ProxyCommandClass · 0.85
LoginCommandClass · 0.85
LogoutCommandClass · 0.85
EchoCommandClass · 0.85
SetCommandClass · 0.85

Tested by

no test coverage detected