Closed BenJackGill closed 10 months ago
Update: If you want callingCodes
then you need to use --include-field=idd
. The output will then have both idd
and callingCodes
fields automatically included. It seems you cannot just get callingCodes
alone.
For example, my previous command would be php countries.php convert --include-field=name --include-field=cca2 --include-field=idd
If this is the intended behaviour I suggest updating the readme doc to reflect that.
Hi,
I think this is an unintended consequence of #389. I will look into it.
@BenJackGill I have prepared a fix for this here #487, which will be released in the 5.0 version.
Thank you for your patience.
fixed via #487
I am running this custom output command:
php countries.php convert --include-field=name --include-field=cca2 --include-field=callingCodes
But only
name
andcca2
are included in the output.callingCodes
field is always excluded.