add cmd interface