nightvisi0n / dockgraph

Analyse dependencies of docker images.
Creative Commons Attribution Share Alike 4.0 International
2 stars 1 forks source link

Provide nicer (utf-8) output of docktree-cli #11

Closed nightvisi0n closed 8 years ago

nightvisi0n commented 8 years ago

We should provide a nicer output of docktree-cli, if utf-8 is supported (similar to tree).

w/o utf-8:

- 65e4158d9625 Tags: ['docker.io/busybox:latest'] Size: 1.1 MiB
  |- 8fa48410182e Tags: ['bar:latest'] Size: 1.1 MiB
  |  |- 26cc8a5feb49 Tags: ['baz:latest'] Size: 1.1 MiB
  |- 05710237af2f Tags: ['foo:latest'] Size: 1.1 MiB

with utf-8:

└─ 65e4158d9625 Tags: ['docker.io/busybox:latest'] Size: 1.1 MiB
   ├─ 8fa48410182e Tags: ['bar:latest'] Size: 1.1 MiB
   │  └─ 26cc8a5feb49 Tags: ['baz:latest'] Size: 1.1 MiB
   └─ 05710237af2f Tags: ['foo:latest'] Size: 1.1 MiB