Skip to content

Commit

Permalink
Added yaml output support. Python 3.x porting
Browse files Browse the repository at this point in the history
  • Loading branch information
mahtin committed Jun 11, 2016
1 parent 9e850db commit adf1e5b
Show file tree
Hide file tree
Showing 2 changed files with 256 additions and 231 deletions.
10 changes: 6 additions & 4 deletions cli4/__main__.py
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()

Loading

0 comments on commit adf1e5b

Please sign in to comment.