Implement CLI for transactions.