core: support to parse command which config in a lua file.

N/A

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