Defaults tool equivalent of Ctrl-F7
After some searching the equivalent command using the defaults tool is 

defaults write NSGlobalDomain AppleKeyboardUIMode -int 2


Anyone can verify this by toggling the values and then reading the key value. The default value has a value of 0 and switching it to all ui elements will turn it to a value of 2.