kusion generate
Generate and print the resulting Spec resources of target Stack
Synopsis
    This command generates Spec resources with given values, then write the resulting Spec resources to specific output file or stdout.
    The nearest parent folder containing a stack.yaml file is loaded from the project in the current directory.
kusion generate [flags]
Examples
        # Generate and write Spec resources to specific output file
        kusion generate -o /tmp/spec.yaml
        # Generate spec with custom workspace
        kusion generate -o /tmp/spec.yaml --workspace dev
Options
      --backend string     The backend to use, supports 'local', 'oss' and 's3'.
  -h, --help               help for generate
      --no-style           no-style sets to RawOutput mode and disables all of styling
  -o, --output string      File to write generated Spec resources to
      --set stringArray    Set values on the command line (can specify multiple or separate values with commas: key1=val1,key2=val2)
  -w, --workdir string     The work directory to run Kusion CLI.
      --workspace string   The name of target workspace to operate in.
Options inherited from parent commands
      --profile string          Name of profile to capture. One of (none|cpu|heap|goroutine|threadcreate|block|mutex) (default "none")
      --profile-output string   Name of the file to write the profile to (default "profile.pprof")
SEE ALSO
- kusion - Kusion is the Platform Orchestrator of Internal Developer Platform