code: func (s *creator) createPrintOrCopy(ctx context.Context, c *cli.Context, name, password string, genPw bool) error {
  	if !genPw {
  		return nil
  	}
  
  	if c.Bool("print") {
  		fmt.Fprintf(
  			out.Stdout,
  			"The generated password for %s is:\n%s\n", name,
  			color.YellowString(password),
  		)
  		return nil
  	}
  
  	if err := clipboard.CopyTo(ctx, name, []byte(password)); err != nil {
  		return action.ExitError(ctx, action.ExitIO, err, "failed to copy to clipboard: %s", err)
  	}
  	return nil
  }
docs: // createPrintOrCopy will display the created password (or copy to clipboard)