Extract version command implementation to function
Extract version command implementation to function

Signed-off-by: Jacob Gillespie <81016f2aff6d668804d264793d02a673929081da@gmail.com>

nalind/buildah-1,TomSweeneyRedHat/buildah,TomSweeneyRedHat/buildah,nalind/buildah-1,projectatomic/buildah,rhatdan/buildah,projectatomic/buildah,nalind/buildah,TomSweeneyRedHat/buildah,rhatdan/buildah,rhatdan/buildah,nalind/buildah-1,projectatomic/buildah,nalind/buildah