# Path: mapchete/cli/options.py
# MULTIPROCESSING_START_METHODS = get_all_start_methods()
# def _validate_zoom(ctx, param, zoom):
# def _validate_bounds(ctx, param, bounds):
# def _validate_crs(ctx, param, crs):
# def _validate_mapchete_files(ctx, param, mapchete_files):
# def _set_debug_log_level(ctx, param, debug):
# def _setup_logfile(ctx, param, logfile):
# def _cb_key_val(ctx, param, value):
# def _cb_none_concurrency(ctx, param, value):


import click
import os
from importlib_resources import files
from string import Template
from shutil import copyfile
from oyaml import dump
from mapchete.cli import options
"""Create dummy Mapchete and python process files."""



FORMAT_MANDATORY = {
    "GTiff": {"bands": None, "dtype": None},
    "PNG": {"bands": None, "dtype": None},
    "PNG_hillshade": {"bands": 4, "dtype": "uint8"},
    "GeoJSON": {"schema": {}},
    "PostGIS": {
        "schema": {},
        "db_params": {
            "host": None,
            "port": None,
            "db": None,
            "user": None,
            "password": None,
            "table": None,
        },
    },
}


@click.command(help="Create a new process.")

# Path: mapchete/cli/options.py
# MULTIPROCESSING_START_METHODS = get_all_start_methods()
# def _validate_zoom(ctx, param, zoom):
# def _validate_bounds(ctx, param, bounds):
# def _validate_crs(ctx, param, crs):
# def _validate_mapchete_files(ctx, param, mapchete_files):
# def _set_debug_log_level(ctx, param, debug):
# def _setup_logfile(ctx, param, logfile):
# def _cb_key_val(ctx, param, value):
# def _cb_none_concurrency(ctx, param, value):


# Path: mapchete/cli/default/create.py
import click
import os
from importlib_resources import files
from string import Template
from shutil import copyfile
from oyaml import dump
from mapchete.cli import options

"""Create dummy Mapchete and python process files."""



FORMAT_MANDATORY = {
    "GTiff": {"bands": None, "dtype": None},
    "PNG": {"bands": None, "dtype": None},
    "PNG_hillshade": {"bands": 4, "dtype": "uint8"},
    "GeoJSON": {"schema": {}},
    "PostGIS": {
        "schema": {},
        "db_params": {
            "host": None,
            "port": None,
            "db": None,
            "user": None,
            "password": None,
            "table": None,
        },
    },
}


@click.command(help="Create a new process.")

@options.arg_create_mapchete_file