Documentation

`vectron stack init`

Create the source `vectron.stack.toml` file for stack mode.

Main command

vectron stack init

This command:

  • writes a minimal vectron.stack.toml
  • refuses to overwrite an existing vectron.stack.toml
  • does not create .vectron_stack/
  • does not provision dependencies or generate vectron.toml

Useful flags

  • --example: write the complete built-in vectron.stack.toml example and stop

Safe workflow

Use this sequence:

vectron stack init
vectron stack check
vectron stack provision --dry-run
vectron stack provision
vectron start

If you want the complete documented source file instead of the minimal one, run vectron stack init --example.

Next step

After editing and validating vectron.stack.toml, run vectron stack provision to prepare .vectron_stack/ and generate the derived vectron.toml.