basic CLI support
add basic CLI support