Skip to content

Script Tree ​

Note: This is an upcoming experimental feature that is subject to change in the future. To use it now, you must enable the project config option terramate.config.experiments = ["scripts"]

Shows a tree-view of all scripts relative to the current directory (or a specific directory with the -C flag). The tree expands all sub-directories, and the parent path back to the project root, showing script definitions per directory.

Usage ​

terramate script tree

Example ​

bash
$ terramate script tree
/
β”‚ * deploy: "deploy the infra"
β”œβ”€β”€ dev
β”‚   └── #ec2
β”‚         ~ deploy
β”œβ”€β”€ prd
β”‚   └── #ec2
β”‚         ~ deploy
└── stg
    └── #ec2
          ~ deploy