how to write a sample console application with Zend
/Zend/Console/Getopt.php
i just want to pass a value as -v and will get the version information
input as
prjectfolder/console/version.php -v
out put
Version 1.xxxxx
how to code in zend. Just simple php with send lib includes methods.