Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit adf1e5b

Browse files
committed
Added yaml output support. Python 3.x porting
1 parent 9e850db commit adf1e5b

2 files changed

Lines changed: 256 additions & 231 deletions

File tree

cli4/__main__.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
#!/usr/bin/env python
2+
"""CloudFlare API via command line"""
23

34
import sys
45

56
from cli4 import cli4
67

78
def main(args=None):
8-
if args is None:
9-
args = sys.argv[1:]
10-
cli4(args)
9+
"""CloudFlare API via command line"""
10+
if args is None:
11+
args = sys.argv[1:]
12+
cli4(args)
1113

1214
if __name__ == '__main__':
13-
main()
15+
main()
1416

0 commit comments

Comments
 (0)