## zowe › config › update-schemas

Update schema files by looking up the directory structure.

Schema files up in higher level directories will always be updated. To also update schema files down in lower level directories, specify the `--depth` flag.

#### Usage

zowe config update-schemas [options]

#### Options

- `--depth` (number)

  - Specifies how many levels down the directory structure should the schemas be updated.

    Default value: 0

#### Examples

- Update all schema files found in higher level directories:

  - `zowe config update-schemas`

- Update all schema files found in higher level directories and 2 levels down the directory structure:

  - `zowe config update-schemas --depth 2`