load the cli app first