#include <SecurityTool/security_tool_commands.h>
SECURITY_COMMAND(
"sync", keychain_sync,
"[options]\n"
"Keychain Syncing\n"
" -d disable\n"
" -e enable (join/create circle)\n"
" -i info (current status)\n"
" -m dump my peer\n"
" -s schedule sync with all peers\n"
"\n"
"Account/Circle Management\n"
" -a accept all applicants\n"
" -l [reason] sign out of circle + set custom departure reason\n"
" -q sign out of circle\n"
" -r reject all applicants\n"
" -E ensure fresh parameters\n"
" -b device|all|single Register a backup bag - THIS RESETS BACKUPS!\n"
" -A Apply to a ring\n"
" -B Withdrawl from a ring\n"
" -G Enable Ring\n"
" -F Ring Status\n"
" -I Dump Ring Information\n"
" -N (re-)set to new account (USE WITH CARE: device will not leave circle before resetting account!)\n"
" -O reset to offering\n"
" -R reset circle\n"
" -X [limit] best effort bail from circle in limit seconds\n"
"\n"
"IDS\n"
" -g set IDS device id\n"
" -p retrieve IDS device id\n"
" -x ping all devices in an IDS account\n"
" -w check IDS availability\n"
" -z retrieve IDS id through IDSKeychainSyncingProxy\n"
"\n"
"Password\n"
" -P [label:]password set password (optionally for a given label) for sync\n"
" -T [label:]password try password (optionally for a given label) for sync\n"
"\n"
"KVS\n"
" -k pend all registered kvs keys\n"
" -C clear all values from KVS\n"
" -D [itemName] dump contents of KVS\n"
" -W itemNames sync and dump\n"
"\n"
"Misc\n"
" -v [enable|disable|query:viewname] enable, disable, or query my PeerInfo's view set\n"
" viewnames are: keychain|masterkey|iclouddrive|photos|cloudkit|escrow|fde|maildrop|icloudbackup|notes|imessage|appletv|homekit\n"
" wifi|passwords|creditcards|icloudidentity|othersyncable\n"
" -L list all known view and their status\n"
" -S [enable|disable|propertyname] enable, disable, or query my PeerInfo's Security Property set\n"
" propertynames are: hasentropy|screenlock|SEP|IOS\n"
" -U purge private key material cache\n"
" -V Report View Sync Status on all known clients.\n"
" -Y Report yet to initial sync views\n",
"Keychain Syncing controls." )