Validate an orb YAML file

## Usage

`circleci orb validate <path> [flags]`

## Arguments

- `<path>` is the path to an orb YAML file. Pass `-` to read from stdin.

## Flags

| Flag           | Description                                                            |
| -------------- | ---------------------------------------------------------------------- |
| `--org string` | Organization slug (e.g. gh/myorg) or UUID for private orb dependencies |

Global flags: `-c, --config`, `--debug`, `--no-color`, `-q, --quiet` — see `circleci --help`.

## Examples

- Validate an orb file: 
  `circleci orb validate orb.yml`
- Validate from stdin: 
  `cat orb.yml | circleci orb validate -`
- Validate with a specific org for private deps: 
  `circleci orb validate orb.yml --org gh/acme`

## Details

Validate an orb YAML file against the CircleCI API.

Pass `-` as the path to read from stdin.

Use --org (a slug or UUID) to validate against a specific
organization's private orb dependencies.

Exit code 7 if the orb is invalid.

