This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- script: | | |
terraform plan -out tf.tfplan | |
displayName: Generate Terraform plan | |
- script: | | |
terraform show -no-color tf.tfplan > $(Agent.TempDirectory)/tf.txt | |
displayName: Convert Terraform plan to text | |
- bash: | | |
cd $(Agent.TempDirectory) |
- Install the Linux package tree using Homebrew:
brew install tree
- Run the tree command on any directory to generate a Markdown friendly structure:
tree your-directory
You can save it to a file by piping the results into a text file:
tree . >> directory-structure.md
packages/button
├── lib
$/
artifacts/
build/
docs/
lib/
packages/
samples/
src/
tests/