diff --git a/yt2feed.py b/yt2feed.py new file mode 100644 index 0000000..d4814e6 --- /dev/null +++ b/yt2feed.py @@ -0,0 +1,20 @@ +#!/usr/bin/env python3 + +#Imports +import configparser +import argparse + +script_version = 0.1 +help_epilog = "Downloads stuff and packages it as an RSS feed." + +cmd_option_set = argparse.ArgumentParser(description='Backup YouTube channels.', epilog=help_epilog) + +cmd_option_set.add_argument('--version', '-v', dest='print_version', action='store_true', help='Print the current version number.') +cmd_options = cmd_option_set.parse_args() + +config_file = "./.yt2feed.ini" +config = configparser.ConfigParser() +config.read(config_file) + +if (print_version): + printf("Version: " + this.script_version)