add some cli support
add some cli methods