diff --git a/CloudFlare/__init__.py b/CloudFlare/__init__.py index 7e8dcb3..113265a 100644 --- a/CloudFlare/__init__.py +++ b/CloudFlare/__init__.py @@ -2,4 +2,4 @@ from cloudflare import CloudFlare -__version__ = '1.2.2' +__version__ = '1.2.3' diff --git a/README.md b/README.md index b26cfdc..ec50c0f 100644 --- a/README.md +++ b/README.md @@ -275,7 +275,8 @@ All API calls can be called from the command line. The command will convert domain names on-the-fly into zone_identifier's. ```bash -$ cli4 [-V|--version] [-h|--help] [-v|--verbose] [-q|--quiet] [-j|--json] [-y|--yaml] [-r|--raw] [--get|--patch|--post|-put|--delete] [item=value ...] /command... +$ cli4 [-V|--version] [-h|--help] [-v|--verbose] [-q|--quiet] [-j|--json] [-y|--yaml] [-r|--raw] [-d|--dump] [--get|--patch|--post|-put|--delete] [item=value ...] /command... + ``` For API calls that need a set of date or parameters passed there is a item=value format. @@ -440,6 +441,22 @@ $ ## Implemented API calls +The **--dump** argument to cli4 will produce a list of all the call implemented within the library. + +```bash +$ cli4 --dump +/certificates +/ips +/organizations +... +/zones/ssl/analyze +/zones/ssl/certificate_packs +/zones/ssl/verification +$ +``` + +### Table of commands + |`GET` |`PUT` |`POST` |`PATCH` |`DELETE`|API call| |--------|--------|--------|--------|--------|:--------| |`GET` | |`POST` | |`DELETE`|/certificates| diff --git a/README.rst b/README.rst index 75925f4..842cc45 100644 --- a/README.rst +++ b/README.rst @@ -311,7 +311,7 @@ convert domain names on-the-fly into zone\_identifier's. .. code:: bash - $ cli4 [-V|--version] [-h|--help] [-v|--verbose] [-q|--quiet] [-j|--json] [-y|--yaml] [-r|--raw] [--get|--patch|--post|-put|--delete] [item=value ...] /command... + $ cli4 [-V|--version] [-h|--help] [-v|--verbose] [-q|--quiet] [-j|--json] [-y|--yaml] [-r|--raw] [-d|--dump] [--get|--patch|--post|-put|--delete] [item=value ...] /command... For API calls that need a set of date or parameters passed there is a item=value format. If you want a numeric value passed, then *==* can be @@ -483,6 +483,24 @@ DNSSEC CLI examples Implemented API calls --------------------- +The **--dump** argument to cli4 will produce a list of all the call +implemented within the library. + +.. code:: bash + + $ cli4 --dump + /certificates + /ips + /organizations + ... + /zones/ssl/analyze + /zones/ssl/certificate_packs + /zones/ssl/verification + $ + +Table of commands +~~~~~~~~~~~~~~~~~ + +-----------+-----------+------------+-------------+--------------+---------------------------------------------------------------+ | ``GET`` | ``PUT`` | ``POST`` | ``PATCH`` | ``DELETE`` | API call | +===========+===========+============+=============+==============+===============================================================+