From aede702718c1ce7a0685f5ca858aee0c706feef7 Mon Sep 17 00:00:00 2001 From: Stefan Prodan Date: Fri, 20 Oct 2023 22:46:49 +0300 Subject: [PATCH] Add vet command to docs Signed-off-by: Stefan Prodan --- README.md | 2 +- docs/index.md | 2 +- docs/module.md | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6b0db386..3289fd6c 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ Module examples can be found at [examples/minimal](examples/minimal) and [exampl Commands for working with local modules: - `timoni mod init ` -- `timoni mod lint ` +- `timoni mod vet ` - `timoni build -n ` - `timoni apply -f --dry-run --diff` diff --git a/docs/index.md b/docs/index.md index 4dbcfd60..e78f8f4e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -51,7 +51,7 @@ Module structure: Commands for working with local modules: - `timoni mod init ` -- `timoni mod lint ` +- `timoni mod vet ` - `timoni build -n ` - `timoni apply -f --dry-run --diff` diff --git a/docs/module.md b/docs/module.md index 825a6307..f631f750 100644 --- a/docs/module.md +++ b/docs/module.md @@ -92,11 +92,11 @@ To enforce a minimum supported version for your module, set a constraint for the version e.g. `kubeMinorVersion: int & >=20`. To test the constraint, you can use the `TIMONI_KUBE_VERSION` env var -with `timoni mod lint` and `timoni build`. +with `timoni mod vet` and `timoni build`. ```console -$ TIMONI_KUBE_VERSION=1.19.0 timoni mod lint ./myapp -build failed: timoni.kubeMinorVersion: invalid value 19 (out of bound >=20) +$ TIMONI_KUBE_VERSION=1.19.0 timoni mod vet ./myapp +validation failed: timoni.kubeMinorVersion: invalid value 19 (out of bound >=20) ``` ## Ignore