code: func NewCommand(name string, runFn func(*cobra.Command, []string)) *cobra.Command {
  	return &cobra.Command{Use: name, Run: runFn, PreRun: setupHTTPLogger}
  }
docs: // NewCommand creates a new 'git-lfs' sub command, given a command name and
  // command run function.
  //
  // Each command will initialize the local storage ('.git/lfs') directory when
  // run, unless the PreRun hook is set to nil.