File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ # cli4
2+
3+ > Python command-line interface for Cloudflare API.
4+ > More information: < https://github.com/cloudflare/python-cloudflare > .
5+
6+ - Display account information:
7+
8+ ` cli4 {{/user}} `
9+
10+ - List all zones:
11+
12+ ` cli4 {{/zones}} `
13+
14+ - List DNS records for a specific zone:
15+
16+ ` cli4 {{/zones/:example.com/dns_records}} `
17+
18+ - Create a new DNS record:
19+
20+ ` cli4 --post {{name=example.com}} {{type=A}} {{content=192.0.2.1}} {{/zones/:example.com/dns_records}} `
21+
22+ - Update an existing DNS record:
23+
24+ ` cli4 --put {{name=sub.example.com}} {{type=A}} {{content=192.0.2.2}} {{/zones/:example.com/dns_records/:record_id}} `
25+
26+ - Delete a DNS record:
27+
28+ ` cli4 --delete {{/zones/:example.com/dns_records/:record_id}} `
29+
30+ - Purge all cache for a zone:
31+
32+ ` cli4 --post {{purge_everything=true}} {{/zones/:example.com/purge_cache}} `
You can’t perform that action at this time.
0 commit comments