cmdbox: add c library for cmdbox.

N/A

Signed-off-by: liminghao <liminghao@xiaomi.com>