add get opt to main
Merge branch 'master' of github.com:magiczhao/devlib