commands/regenerate_command library