thelowlypeon / cloudflare-cli

Command line tools for basic Cloudflare commands
MIT License
8 stars 3 forks source link

Arguments not getting parsed! #2

Open ahmadawais opened 7 years ago

ahmadawais commented 7 years ago

Arguments are not getting parsed.

cfcli zone -s"site.com"

Doesn't work it says Cloudflare site is required

thelowlypeon commented 7 years ago

hi @ahmadawais, it should work if you have a space after the -s flag:

cfcli zone -s "site.com"

does that work?

ahmadawais commented 7 years ago

Yeah, that doesn't work! Tried all combinations! I have many sites, I want to clear the cache for all the sites with one command! I wish that was possible here? What would we need to do? Get zones of all the sites and then do a loop on curl requests?

This is the basic intent here for being able to use the -s — I was thinking of building the wrapper myself but you seem to be very active. We can collaborate.