rename see cmd to sub, and add pub command
use CmdLine gadget to parse pub/sub command arguments