add deprecation warning to cli