I am trying to write a simple smart contract that will share any ether it gets between two EOAs. I am unable to find the command I need to run from the geth console to send the ether "to the share function". What is the syntax for this command? 
pragma solidity ^0.4.0;
contract sharer {
    address owner;
    address A;
    address B;
    function sharer (address _A, address _B) public {
        A = _A;
        B = _B;
    }
    function share () payable public {
        A.transfer(msg.value/2);
        B.transfer(msg.value/2);
    }
}