#!/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)