layer0
layer0 copied to clipboard
Show dependency tree on CLI
Similar to the tree command in bash, implement a similar command in the Layer0 CLI to show the relationship between entities.
I found some existing libraries and/or examples that we can use here for a tree-like printer:
https://github.com/a8m/tree https://github.com/DiSiqueira/GoTree https://github.com/kddeisz/tree/blob/master/tree.go
In considering UX for this, I don't believe we would even need to go farther than one level below root, unless we consider a load_balancer a dependency of a service.
environment_name
├── service_name
├── elb_name