We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 947e740 commit f965fd9Copy full SHA for f965fd9
split.py
@@ -95,12 +95,19 @@ def main():
95
args_parser.add_argument(
96
"-o", "--out", help="where to write the files (default: out)", default="out"
97
)
98
+ args_parser.add_argument(
99
+ "-l",
100
+ "--library",
101
+ action="append",
102
+ dest="libraries",
103
+ help="the libraries to split (default: [httplib])",
104
+ )
105
args = args_parser.parse_args()
106
107
+ default_libraries = ["httplib"]
108
search_dirs = ["example"]
- lib_names = ["httplib"]
109
- for lib_name in lib_names:
110
+ for lib_name in args.libraries or default_libraries:
111
split(lib_name, search_dirs, args.extension, args.out)
112
113
0 commit comments