Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.07 KB

kusion_check.md

File metadata and controls

45 lines (31 loc) · 1.07 KB

kusion check

Check if KCL configurations in current directory ok to compile

Synopsis

Check if KCL configurations in current directory ok to compile.

kusion check [flags]

Examples

  # 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

Options

  -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

SEE ALSO

  • kusion - kusion manages the Kubernetes cluster by code
Auto generated by spf13/cobra on 29-Apr-2022