app registerCommand