cloudflare_cli 0.0.3.pre.alpha.2 → 0.0.3.pre.alpha.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/cloudflare_cli.rdoc +98 -0
- data/lib/cloudflare_cli/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9040ea27f4419504e8ca1685366b138182c761cf049434495aa26125dc516b7
|
4
|
+
data.tar.gz: 68f45141a508ef11ad4eb325f615574de01854ab669a66861653866b03e04b04
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 11ec37db18fdcdbdafa403e7e792ffa9f2cf25599f365462ac6ea71dd68d64c253f2cc3880214c44f86e3e8c1be0e564c5e54d4ab96ccd863ddd81c672d52f62
|
7
|
+
data.tar.gz: 59819e1622c1914a6ffb6f634e34eea8878abfe72f1a7eafe23233f13bb7262379d9ed5bb1acdb838d7a86db0e564b907c599840ef1c0b70dfcbb1b8eef7e9cb
|
data/cloudflare_cli.rdoc
ADDED
@@ -0,0 +1,98 @@
|
|
1
|
+
== cloudflare_cli - Interface with the Cloudflare API!
|
2
|
+
|
3
|
+
|
4
|
+
cloudflare_cli is an interface into the Cloudflare API,
|
5
|
+
usage is rate-limited by Cloudflare itself, not the gem.
|
6
|
+
|
7
|
+
See https://api.cloudflare.com/#getting-started-requests for information
|
8
|
+
on the API and the linked anchor for rate-limiting specifically.
|
9
|
+
|
10
|
+
v0.0.3
|
11
|
+
|
12
|
+
=== Global Options
|
13
|
+
=== --api-key APIKEY
|
14
|
+
|
15
|
+
Cloudflare API Key
|
16
|
+
|
17
|
+
[Default Value] ********
|
18
|
+
|
19
|
+
|
20
|
+
=== --email EMAIL
|
21
|
+
|
22
|
+
Cloudflare E-Mail
|
23
|
+
|
24
|
+
[Default Value] ********
|
25
|
+
|
26
|
+
|
27
|
+
=== --help
|
28
|
+
Show this message
|
29
|
+
|
30
|
+
|
31
|
+
|
32
|
+
=== --version
|
33
|
+
Display the program version
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
=== Commands
|
38
|
+
==== Command: <tt>dns-record </tt>
|
39
|
+
DNS Record Management
|
40
|
+
|
41
|
+
|
42
|
+
===== Commands
|
43
|
+
====== Command: <tt>add </tt>
|
44
|
+
add a record
|
45
|
+
|
46
|
+
|
47
|
+
====== Command: <tt>rem|del|delete </tt>
|
48
|
+
remove a record
|
49
|
+
|
50
|
+
|
51
|
+
====== Command: <tt>show </tt>
|
52
|
+
get a record
|
53
|
+
|
54
|
+
|
55
|
+
====== Command: <tt>update|modify </tt>
|
56
|
+
update a record
|
57
|
+
|
58
|
+
|
59
|
+
==== Command: <tt>help command</tt>
|
60
|
+
Shows a list of commands or help for one command
|
61
|
+
|
62
|
+
Gets help for the application or its commands. Can also list the commands in a way helpful to creating a bash-style completion function
|
63
|
+
===== Options
|
64
|
+
===== -c
|
65
|
+
List commands one per line, to assist with shell completion
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
==== Command: <tt>initconfig </tt>
|
70
|
+
Initialize the config file using current global options
|
71
|
+
|
72
|
+
Initializes a configuration file where you can set default options for command line flags, both globally and on a per-command basis. These defaults override the built-in defaults and allow you to omit commonly-used command line flags when invoking this program
|
73
|
+
===== Options
|
74
|
+
===== --[no-]force
|
75
|
+
force overwrite of existing config file
|
76
|
+
|
77
|
+
|
78
|
+
|
79
|
+
==== Command: <tt>ips </tt>
|
80
|
+
Return Cloudflare IPs
|
81
|
+
|
82
|
+
|
83
|
+
===== Commands
|
84
|
+
====== Command: <tt>list </tt>
|
85
|
+
list out cloudflare's IPs
|
86
|
+
|
87
|
+
|
88
|
+
[Default Command] list
|
89
|
+
==== Command: <tt>zones </tt>
|
90
|
+
Use all the non-dns '/zones/*' endpoints
|
91
|
+
|
92
|
+
|
93
|
+
===== Commands
|
94
|
+
====== Command: <tt>all|list-zones </tt>
|
95
|
+
list all zones or filter them
|
96
|
+
|
97
|
+
|
98
|
+
[Default Command] false
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cloudflare_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.3.pre.alpha.
|
4
|
+
version: 0.0.3.pre.alpha.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Spencer
|
@@ -90,6 +90,7 @@ files:
|
|
90
90
|
- ChangeLog.md
|
91
91
|
- README.md
|
92
92
|
- bin/cloudflare_cli
|
93
|
+
- cloudflare_cli.rdoc
|
93
94
|
- lib/cloudflare_cli.rb
|
94
95
|
- lib/cloudflare_cli/app.rb
|
95
96
|
- lib/cloudflare_cli/commands/001_dns_records.rb
|