def METHOD_NAME(rcfile):
    """ Convert ini bugwarriorrc to toml and print result to stdout. """
    try:
        from METHOD_NAME.api import Translator
    except ImportError:
        raise SystemExit(
            'Install extra dependencies to use this command:\n'
            '    pip install bugwarrior[ini2toml]')
    if os.path.splitext(rcfile)[-1] == '.toml':
        raise SystemExit(f'{rcfile} is already toml!')
    with open(rcfile, 'r') as f:
        bugwarriorrc = f.read()
    print(Translator().translate(bugwarriorrc, 'bugwarriorrc'))