code: func WithProject(factory ProjectFactory, action ProjectAction) func(context *cli.Context) error {
  	return func(context *cli.Context) error {
  		p, err := factory.Create(context)
  		if err != nil {
  			logrus.Fatalf("Failed to read project: %v", err)
  		}
  		return action(p, context)
  	}
  }
docs: // WithProject is a helper function to create a cli.Command action with a ProjectFactory.