Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document okteto validate #925

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions src/content/reference/okteto-cli.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -738,6 +738,22 @@ Therefore, the Development Container uses the same service account, environment

You can also overwrite the start [command](reference/okteto-manifest.mdx#command-string-optional) in your Development Container with the syntax `okteto up -- COMMAND [args...]`.

### validate<TiersList tiers="Platform Open-Source" />

This command helps you catch configuration errors, typos or invalid syntax in your Okteto Manifest. When authoring a new manifest or updating an existing one, you can use this command to quickly validate the changes you've made.

By default, it will use the Okteto Manifest in the current directory, alternatively you can specify a different path using the `--file` flag.

```console
$ okteto validate
```

The following command flags are available:

| Options | Type | Description | Default |
| :--------------------------------------------- | :------: | :------------------------------------------------------------------------- | :---------- |
| <em className="no-wrap">_-f, --file_</em> | string | The path to the Okteto Manifest | `okteto.yml`|

### version<TiersList tiers="Platform Open-Source" />

Show the current installed Okteto CLI binary version
Expand Down