def _logout(creds_file=None):
    """
    Logout main function, just rm ~/.onecodex more or less
    """
    if _remove_creds(creds_file=creds_file):
        click.echo("Successfully removed One Codex credentials.", err=True)
        sys.exit(0)
    else:
        click.echo("No One Codex API keys found.", err=True)
        sys.exit(1)