Please note that there is only wallet mining for the time being:
Here's how to mine using your wallet.
(1) Start QT-wallet
(2) Switch to debug console.
(3) getaccountaddress 0
(4) generatetoaddress 1 <address from step3>
(5) Automate via batch script using straksd.exe, using straks-cli.exe as the client.
Step five, can you point out the details?