forked from cloudflare/python-cloudflare
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added yaml output support. Python 3.x porting
- Loading branch information
Showing
2 changed files
with
256 additions
and
231 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
#!/usr/bin/env python | ||
"""CloudFlare API via command line""" | ||
|
||
import sys | ||
|
||
from cli4 import cli4 | ||
|
||
def main(args=None): | ||
if args is None: | ||
args = sys.argv[1:] | ||
cli4(args) | ||
"""CloudFlare API via command line""" | ||
if args is None: | ||
args = sys.argv[1:] | ||
cli4(args) | ||
|
||
if __name__ == '__main__': | ||
main() | ||
main() | ||
|
Oops, something went wrong.