Topics

Tribe Support

Tribe Support's Topics

Nick Swinford

Nick Swinford

June 27 2018

Generate Command

Have you ever been building a new app or component and wished you could easily have access to some sample data to work with? Well wish no more!

I've created a new command for Anahita CLI called Generate! The generate:sample command lets you generate new random sample data just using Anahita CLI and your entity definitions. It can even be extended to include any additional attributes that you may want to store.

Check it out here (https://github.com/NicholasJohn16/generate) and give the README a look over to see how to install and use it. Let me know if you encounter any issues.

Excellent work Nick!
I assume people can install the app using composer?
Yup, the install command is in the README file. If you run into any issues, let me know and I'll take care of them.
Rastin Mehr liked this
You can add it to https://packagist.org and that way people can just add it to their package.json file and install it. I'm planning to distribute all our existing packages this way instead of bundling them with Anahita. That is after our react app is ready.
Oops, looks like I missed the 16 in my username in the README. I've fixed it.

Powered by Anahita