use go-flags instead of cli