update command api and bump to 0.10