little changes

pull/280/head
iaacornus 3 years ago
parent f75b59d5a2
commit 4221444b2c
No known key found for this signature in database
GPG Key ID: 281739AE7252598C

@ -1,5 +1,4 @@
import argparse import argparse
from venv import create
from main import main from main import main
from setup_program import setup from setup_program import setup
@ -9,7 +8,7 @@ from utils.console import print_substep
def program_options(): def program_options():
description = """\ description = """\
DESCRIPTION HERE. Create Reddit Videos with one command.
""" """
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
@ -18,45 +17,38 @@ def program_options():
description=description description=description
) )
parser.add_argument( parser.add_argument(
"-c", "-c", "--create",
"--create", help="Create a video (uses the defaults).",
help="Create a video.",
action="store_true" action="store_true"
) )
parser.add_argument( # only accepts the name of subreddit, not links. parser.add_argument( # only accepts the name of subreddit, not links.
"-s", "-s", "--subreddit",
"--subreddit", help="Specify a subreddit.",
help="Use another sub-reddit.",
action="store" action="store"
) )
parser.add_argument( parser.add_argument(
"-b", "-b", "--background",
"--background", help="Specify a video background for video (accepts link and file).",
help="Use another video background for video (accepts link).",
action="store" action="store"
) )
parser.add_argument( parser.add_argument(
"-f", "-f", "--filename",
"--filename", help="Specify a filename for the video.",
help="Set a filename for the video.",
action="store" action="store"
) )
parser.add_argument( parser.add_argument(
"-t", "-t", "--thread",
"--thread", help="Use the given thread link instead of random.",
help="Use the given thread link instead of randomized.",
action="store" action="store"
) )
parser.add_argument( parser.add_argument(
"-n", "-n", "--number",
"--number", help="Specify number of comments to include in the video.",
help="Number of comments to include.",
action="store" action="store"
) )
parser.add_argument( parser.add_argument(
"--setup", "--setup", "--setup",
"--setup", help="(Re)setup the program.",
help="Setup the program.",
action="store_true" action="store_true"
) )

Loading…
Cancel
Save