# Path: blackbelt/handle_trello.py
# STORY_CARD_TODO_LIST_NAMES = [
#     "To Do",
#     "ToDo",
#     "Engineering ToDo"
# ]
# TODO_QUEUE_NAME = "To Do Queue"
# DEPLOY_QUEUE_NAME = "Ready"
# DEPLOYED_PREFIX = "Deployed by"
# VERIFIED_PREFIX = "Verified by"
# TEA_ORDER_QUEUE_NAME = "Order next"
#     COLUMN_CACHE = {}
# def get_token_url():
# def get_api():
# def get_column(name, board_id=None):
# def get_next_todo_card():
# def get_current_working_ticket(card_url=None):
# def open_current_working_ticket():
# def get_ticket_ready(ticket):
# def comment_ticket(ticket, comment):
# def migrate_label(label, board, board_to, column, column_to):
# def get_conversion_items(api, card_list, story_card, story_list):
# def schedule_list(story_card, story_list=None, owner=None, label=None):
# def infer_branch_name(url):
# def next_card():
# def move_to_deployed(card_id, comment=None):
# def get_next_sunday():
# def next_week():
# def verify(story_card):
# def get_tea_from_card(card):
# def get_tea_email(teas, sender_name):
# def order_tea():


import json
import re
import webbrowser
import click
from os.path import expanduser, exists
from blackbelt import handle_trello

    config[group_name][url_key] = value
    config[group_name][key + '_id'] = value_id


def configure_blackbelt():
    print("Going to collect all the tokens and store them in ~/.blackbelt")

    config = {
        'trello': {
            'access_token': None
        },
        'github': {
            'access_token': None
        },
        'circleci': {
            'access_token': None
        },
        'slack': {
            'access_token': None
        }
    }

    if exists(CONFIG_FILE):
        with open(CONFIG_FILE) as f:
            config = json.loads(f.read())

    get_token(
        group_name='trello',
        config=config,

# Path: blackbelt/handle_trello.py
# STORY_CARD_TODO_LIST_NAMES = [
#     "To Do",
#     "ToDo",
#     "Engineering ToDo"
# ]
# TODO_QUEUE_NAME = "To Do Queue"
# DEPLOY_QUEUE_NAME = "Ready"
# DEPLOYED_PREFIX = "Deployed by"
# VERIFIED_PREFIX = "Verified by"
# TEA_ORDER_QUEUE_NAME = "Order next"
#     COLUMN_CACHE = {}
# def get_token_url():
# def get_api():
# def get_column(name, board_id=None):
# def get_next_todo_card():
# def get_current_working_ticket(card_url=None):
# def open_current_working_ticket():
# def get_ticket_ready(ticket):
# def comment_ticket(ticket, comment):
# def migrate_label(label, board, board_to, column, column_to):
# def get_conversion_items(api, card_list, story_card, story_list):
# def schedule_list(story_card, story_list=None, owner=None, label=None):
# def infer_branch_name(url):
# def next_card():
# def move_to_deployed(card_id, comment=None):
# def get_next_sunday():
# def next_week():
# def verify(story_card):
# def get_tea_from_card(card):
# def get_tea_email(teas, sender_name):
# def order_tea():


# Path: blackbelt/configure.py
import json
import re
import webbrowser
import click
from os.path import expanduser, exists
from blackbelt import handle_trello


    config[group_name][url_key] = value
    config[group_name][key + '_id'] = value_id


def configure_blackbelt():
    print("Going to collect all the tokens and store them in ~/.blackbelt")

    config = {
        'trello': {
            'access_token': None
        },
        'github': {
            'access_token': None
        },
        'circleci': {
            'access_token': None
        },
        'slack': {
            'access_token': None
        }
    }

    if exists(CONFIG_FILE):
        with open(CONFIG_FILE) as f:
            config = json.loads(f.read())

    get_token(
        group_name='trello',
        config=config,

        token_url=handle_trello.get_token_url()