The main function.

def main():
    """The main function."""
    arguments = docopt.docopt(__doc__, version='Coil CMS v{0}'.format(
        coil.__version__))
    if arguments['write_users']:
        sys.exit(write_users(arguments))
    elif arguments['devserver']:
        sys.exit(devserver(arguments))
    elif arguments['unlock']:
        sys.exit(unlock(arguments))