☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

_snippets_imports_from_glob[*]

Table of contents

Description:

This key represents an individual glob pattern string in the _snippets_imports_from_glob array.

The value is a string that specifies a file path pattern relative to the root of your repository. The path must end in the file extension .cloudcannon.snippets-imports.yml.

Appears in:
└── _snippets_imports_from_glob
    └── [*]
Type:
string
Examples:

In this example, we have several Snippet Configuration Files in the .cloudcannon/snippets/ folder. The value of the _snippets_import_from_glob key tells CloudCannon all files in that folder that match the glob *.cloudcannon.snippets-import.yml.

Copied to clipboard
_snippets_imports_from_glob:
  - /.cloudcannon/snippets/*.cloudcannon.snippets-imports.yml
{
  "_snippets_imports_from_glob": [
    "/.cloudcannon/snippets/*.cloudcannon.snippets-imports.yml"
  ]
}
Open in a new tab