Even though I appreciate the effort that you put into this, I agree with boris that the standard git way to do this should be simple enough. If, however, this should be implemented in transformers, it probably should be in the existing transformers-cli directive rather than a separate command.