Create a custom configuration for demisto-sdk commands.
You can create your own configuration for the demisto-sdk commands by creating a file named .demisto-sdk-conf
within the directory from which you run the commands. This file enables you to set a default value to the existing command flags that take effect whenever the command is run. Use the following structure in the file:
[command_name] flag_name=flag_default_value
Note
Use the flag's full name. If there is a dash - in the flag name, change that to an underscore _. For example, instead of no-docker-checks use no_docker_checks.
The following are examples of preset custom command configurations in the .demisto-sdk-conf
file.
If you prefer to run the pre-commit command only on committed files:
[pre-commit] committed_only=true
If you want to include untracked git files in your validation when running the validate command:
[validate] include_untracked=true
If you want to automatically use minor version changes when running the
update-release-notes
command:[update-release-notes] update_type=minor