# Path: chemdataextractor/config.py
# def construct_yaml_str(self, node):
#     def __init__(self, path=None):
#     def path(self):
#     def _flush(self):
#     def __contains__(self, k):
#     def __getitem__(self, k):
#     def __setitem__(self, k, v):
#     def __delitem__(self, k):
#     def __iter__(self):
#     def __len__(self):
#     def __repr__(self):
#     def clear(self):
# class Config(MutableMapping):


import logging
import click
from ..config import config
~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Commands for managing ChemDataExtractor configuration.

"""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function




log = logging.getLogger(__name__)


@click.group(name='config')
@click.help_option('--help', '-h')
@click.pass_context
def config_cli(ctx):
    """Manage configuration."""
    pass


@config_cli.command()
@click.pass_context
def list(ctx):
    """List all config values."""
    log.debug('chemdataextractor.config.list')
    for k in config:

# Path: chemdataextractor/config.py
# def construct_yaml_str(self, node):
#     def __init__(self, path=None):
#     def path(self):
#     def _flush(self):
#     def __contains__(self, k):
#     def __getitem__(self, k):
#     def __setitem__(self, k, v):
#     def __delitem__(self, k):
#     def __iter__(self):
#     def __len__(self):
#     def __repr__(self):
#     def clear(self):
# class Config(MutableMapping):


# Path: chemdataextractor/cli/config.py
import logging
import click
from ..config import config

~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Commands for managing ChemDataExtractor configuration.

"""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function




log = logging.getLogger(__name__)


@click.group(name='config')
@click.help_option('--help', '-h')
@click.pass_context
def config_cli(ctx):
    """Manage configuration."""
    pass


@config_cli.command()
@click.pass_context
def list(ctx):
    """List all config values."""
    log.debug('chemdataextractor.config.list')
    for k in config:

        click.echo('%s : %s' % (k, config[k]))