cmd: add deprecation capability

Now we can deprecate commands :)