Check if KCL configurations in current directory ok to compile
Check if KCL configurations in current directory ok to compile.
kusion check [flags]
# Check configuration in main.k
kusion check main.k
# Check main.k with arguments
kusion check main.k -D name=test -D age=18
# Check main.k with arguments from settings.yaml
kusion check main.k -Y settings.yaml
# Check main.k with work directory
kusion check main.k -w appops/demo/dev
-D, --argument strings Specify the top-level argument
-n, --disable-none Disable dumping None values
-h, --help help for check
-a, --override-AST Specify the override option
-O, --overrides strings Specify the configuration override path and value
-Y, --setting strings Specify the command line setting files
-w, --workdir string Specify the work directory
- kusion - kusion manages the Kubernetes cluster by code