pre-commit - Demisto SDK Guide - Cortex - Security Operations

Demisto SDK Guide

Creation date
Last date published
Demisto SDK Guide

The pre-commit command runs checks and linters and generates a YAML file based on the content run.

This command enhances the content development experience by running a variety of checks and linters. It utilizes the pre-commit infrastructure, and a template file saved under the content repository (locally or remotely) to dynamically generate a pre-commit-config.yaml file, based on the content run. The pre-commit command only runs when there are modified files, unless specific input files are provided.


An internet connection is required to use pre-commit.