Main runs the unity tool and returns the code for passing to os.Exit.
We follow the same approach here as the cue command (as well as using the
using the same version of Cobra) for consistency. Panic is used as a strategy
for early-return from any running command.