loading

apply

Applies configuration stored in the source directory to the account that the current credential is pointing to.

Usage

yext resources apply [SOURCE-DIR] [flags]

Flags

Flag Description
-h, --help Help for resources apply
-d, --dry Validate and view the result of an apply operation without persisting changes
-f, --force Force apply resources without a confirmation prompt
--namespace strings List of namespaces that should be affected. Any resources outside of the listed namespaces will not be applied. See examples below.


Example usage of --name flag

If you are trying to:

  • Apply resources in myFolder that are in the default namespace, run:

    yext resources apply myFolder --namespace default
  • Apply resources in myFolder that are in the default namespace OR myNamespace

    yext resources apply myFolder --namespace default,myNamespace
apply API
Property Type Default Description
-d, --dry
Validate and view the result of an apply operation without persisting changes
--namespace strings
List of namespaces that should be affected. Any resources outside of the listed namespaces will not be applied.