remove 'cli' package
command: use new CLI lib
command/agent: refactor cli
Merge branch 'f-cli-refactor'