Co-Authors-Plus icon indicating copy to clipboard operation
Co-Authors-Plus copied to clipboard

CLI Command: create_guest_author

Open oscarssanchez opened this issue 2 years ago • 2 comments

Hello,

With a client who didn't have their data in appropriate CSV format we could've used a command that creates a new user with CLI. In the end, we formatted the data but I see people being in the same scenario. It would be helpful if they could just loop through a text file while reading lines, assign values to variables and repeat the same command. Also it would be helpful for people who just want to create a guest author from CLI.

I'd be happy to craft a PR if this is something you would consider. Thanks!

oscarssanchez avatar Oct 22 '22 17:10 oscarssanchez

@oscarssanchez Yes, a PR is always welcome!

rebeccahum avatar Oct 24 '22 19:10 rebeccahum

Thanks @rebeccahum I opened https://github.com/Automattic/Co-Authors-Plus/pull/879 in the meantime, solving that problem first would be great before doing this one!

oscarssanchez avatar Oct 28 '22 01:10 oscarssanchez