def group_create(name, content, **kwargs):
    """
    Create routing group.

    You can optionally specify content for created routing group. It can be either direct JSON
    expression in single quotes, or path to the json file with settings. Settings itself must be
    key-value list, where `key` represents application name, and `value` represents its weight.

    For example:

    cocaine-tool group create -n new_group -c '{
        "app": 1,
        "another_app": 2
    }'.

    Warning: all application weights must be positive integers, total weight must be positive.
    """
    ctx = Context(**kwargs)
    ctx.execute_action('group:create', **{
        'storage': ctx.repo.create_secure_service('storage'),
        'name': name,
        'content': content,
    })
Create routing group.

    You can optionally specify content for created routing group. It can be either direct JSON
    expression in single quotes, or path to the json file with settings. Settings itself must be
    key-value list, where `key` represents application name, and `value` represents its weight.

    For example:

    cocaine-tool group create -n new_group -c '{
        "app": 1,
        "another_app": 2
    }'.

    Warning: all application weights must be positive integers, total weight must be positive.