Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: add wp-cli support #88

Open
COLABORATI opened this issue Apr 26, 2016 · 10 comments
Open

Feature Request: add wp-cli support #88

COLABORATI opened this issue Apr 26, 2016 · 10 comments

Comments

@COLABORATI
Copy link

COLABORATI commented Apr 26, 2016

yes, all the plugin does should be possible with wp-cli - and then it would be great to just load one saved setting and generate customized test data in one line:

wp fakerpress generate-set --config=/path/to/config
@bordoni
Copy link
Owner

bordoni commented Apr 28, 2016

Yes that is also a feature that I've started. It's a big one, but I will do it via Administration first, then create a cool cli FakerPress command with all the things you can do on the Admin.

@curlup
Copy link

curlup commented Dec 2, 2016

Any progress? Do you need any help?

@bordoni
Copy link
Owner

bordoni commented Dec 6, 2016

It would be nice to have some help, if you want to spin up a Pull Request or have any question in terms of which way to approach this @curlup, let me know here and we will get it done.

@nlemoine
Copy link

nlemoine commented Jan 10, 2017

For people interested in a wp-cli fake data generator, I forked Faker to support more content types: https://github.com/nlemoine/wp-cli-fixtures

@igrigorik
Copy link

Would love to see CLI support as well. Any progress or followup thoughts on this from maintainers?

@bordoni
Copy link
Owner

bordoni commented Jul 19, 2017

Working on it for the release 0.5.0, which should include some actual refactoring of the code so we can have tests for the plugin running on Travis. Been honest, the release is still a bit far away.

@igrigorik
Copy link

@bordoni awesome, glad to hear it's on the roadmap! For context, we're investigating building an automated audit/benchmark environment to test WP themes and a CLI interface would be hugely helpful as part of this flow. If there is a way to accelerate or uncouple this work from larger 0.5 release...

@bordoni
Copy link
Owner

bordoni commented Jul 22, 2017

@igrigorik probably I could decouple it for sure. Postponing the refactor of the base modules for tests to accomplish the CLI first doesn't seem bad at all.

So I will push the base for the WP-CLI integration to the release/0.5.0 (this weekend).

I would love to be able to allow FakerPress to be the tool for your Benchmark env.

Let me know if you can share more of the specifics of the project with me later on so I can tailor the FakerPress stuff. gustavo at bordoni.me

@bordoni bordoni added this to the Version 0.5.0 milestone Jul 22, 2017
@igrigorik
Copy link

@bordoni that's awesome!

So I will push the base for the WP-CLI integration to the release/0.5.0 (this weekend).

Just to clarify, you already have some WP-CLI integration code, which you're planning to merge into release/0.5.0 this weekend, or?

Also, look for a Google Docs ping -- shared a WIP project draft with you. :-)

@bordoni
Copy link
Owner

bordoni commented Jul 22, 2017

I have some stuff done, but more related to the refactor, and I would rather accomplish the CLI first.

So the idea is taking a bit of time this weekend to merge a first draft with a few commands for CLI, to get the ball rolling.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants