I am looking for something like
./bin/splunk list indexes -username me -Password MyPassword
Try this
./splunk command object [-parameter value]... -auth username:password
http://docs.splunk.com/Documentation/Splunk/6.4.2/Admin/GethelpwiththeCLI