framework: console: support command args