layer0 icon indicating copy to clipboard operation
layer0 copied to clipboard

Show dependency tree on CLI

Open zpatrick opened this issue 8 years ago • 2 comments

Similar to the tree command in bash, implement a similar command in the Layer0 CLI to show the relationship between entities.

zpatrick avatar Jan 18 '18 23:01 zpatrick

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

diemonster avatar Jan 19 '18 20:01 diemonster

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

diemonster avatar Jan 19 '18 20:01 diemonster