regarding inventory scripts

(New to Ansible, still figuring out things)

If I have several inventory scripts, is it possible to use them all at once, e.g. like this?

ansible -i ec2.py -i some-other-provider.py …

Are there any guidelines or templates for writing your own inventory script?

What prompts these questions is the fact that I have instances in AWS (for which there is an inventory script already) and also some instances with another provider (that doesn’t have an inventory script yet, so I’ll have to write my own).

​put both sript in a directory and pint -i .. to that directory​

​put both scripts in a directory and pint -i .. to that directory​

there are example inventory scripts in the repository, and a tech
description on the json format it should return, in the docs