12 lines
322 B
Python
12 lines
322 B
Python
|
import argparse
|
||
|
|
||
|
|
||
|
def cli():
|
||
|
parser = argparse.ArgumentParser()
|
||
|
parser.add_argument("URL",
|
||
|
help="The URL of the article to convert to Markdown.",
|
||
|
type=str)
|
||
|
parser.add_argument("--topics", help="A list of comma separated topics.")
|
||
|
return parser.parse_args()
|
||
|
|