Command utility functions in Go