lk-geimfari / mimesis

Mimesis is a robust data generator for Python that can produce a wide range of fake data in multiple languages.
https://mimesis.name
MIT License
4.39k stars 330 forks source link

How about CLI? #229

Closed lk-geimfari closed 6 years ago

lk-geimfari commented 6 years ago

Are we need CLI?

albertxie commented 6 years ago

I'd like to take on this project for Hacktoberfest, any specific requirements in mind?

lk-geimfari commented 6 years ago

@albertxie You can use CLI of Faker (similar library) as great example of CLI.

denisorehovsky commented 6 years ago

CLI is comfortable. I've been using django-autofixture instead of mimesis just because it has the CLI. If the mimesis had the CLI, I would use it instead.

lk-geimfari commented 6 years ago

@apirobot We will definitely add support of CLI. If @albertxie can't take this task, then i'll add it by myself.

lk-geimfari commented 6 years ago

Let's thinks about features which we want to see in CLI. Any suggestions?

albertxie commented 6 years ago

hopefully I can get a PR out by sometimes next week, I was thinking of simply starting off with argparse to specify details on basic cases

lk-geimfari commented 6 years ago

@albertxie Remember that the code must be testable inside and out. Let me know, please, if you are unable to cope for some reason. Thanks!

lk-geimfari commented 6 years ago

So, no one wants to work on this, maybe we don't need it?

denisorehovsky commented 6 years ago

Maybe it's not so easy to implement? And maybe it's really not so useful to have a CLI just for providers. But the CLI with integration with Django or Flask would be awesome, in my opinion.

lk-geimfari commented 6 years ago

I agree with you, but we don't add features which need external packages to mimesis, such features should be implemented in another self-sufficient package.