Implement the Registry#create_command() method

Paired with @adonaldson