summaryrefslogtreecommitdiffstats
path: root/cmd/die/main.go
blob: ab39eade6b9c49fccbc54818203631b17a2598f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package main

import (
	"os"
	"github.com/wagoodman/docker-image-explorer/image"
	"github.com/wagoodman/docker-image-explorer/ui"
)

const name = "die"
const version = "v0.0.0"
const author = "wagoodman"

func main() {
	os.Exit(run(os.Args))
}


func run(args []string) int {
	image.WriteImage()
	manifest, refTrees := image.InitializeData()

	ui.Run(manifest, refTrees)
	return 0
}