# Path: kamcli/cli.py
# COMMAND_ALIASES = {
#     "subs": "subscriber",
#     "rpc": "jsonrpc",
#     "sht": "htable",
# }
# CONTEXT_SETTINGS = dict(
#     auto_envvar_prefix="KAMCLI", help_option_names=["-h", "--help"]
# )
# def read_global_config(config_paths):
# def parse_user_spec(ctx, ustr):
#     def __init__(self):
#     def log(self, msg, *args):
#     def vlog(self, msg, *args):
#     def printf(self, msg, *args):
#     def printnlf(self, msg, *args):
#     def read_config(self):
#     def gconfig(self):
#     def list_commands(self, ctx):
#     def get_command(self, ctx, name):
# def cli(ctx, debug, config, wdir, nodefaultconfigs, oformat):
# class Context(object):
# class KamCLI(click.MultiCommand):
# 
# Path: kamcli/cli.py
# COMMAND_ALIASES = {
#     "subs": "subscriber",
#     "rpc": "jsonrpc",
#     "sht": "htable",
# }


import os
import sys
import json
import click
import shutil
from kamcli.cli import pass_context
from kamcli.cli import COMMAND_ALIASES


@click.group(
    "config",
    help="Manage the config file",
    short_help="Manage the config file",
)

# Path: kamcli/cli.py
# COMMAND_ALIASES = {
#     "subs": "subscriber",
#     "rpc": "jsonrpc",
#     "sht": "htable",
# }
# CONTEXT_SETTINGS = dict(
#     auto_envvar_prefix="KAMCLI", help_option_names=["-h", "--help"]
# )
# def read_global_config(config_paths):
# def parse_user_spec(ctx, ustr):
#     def __init__(self):
#     def log(self, msg, *args):
#     def vlog(self, msg, *args):
#     def printf(self, msg, *args):
#     def printnlf(self, msg, *args):
#     def read_config(self):
#     def gconfig(self):
#     def list_commands(self, ctx):
#     def get_command(self, ctx, name):
# def cli(ctx, debug, config, wdir, nodefaultconfigs, oformat):
# class Context(object):
# class KamCLI(click.MultiCommand):
# 
# Path: kamcli/cli.py
# COMMAND_ALIASES = {
#     "subs": "subscriber",
#     "rpc": "jsonrpc",
#     "sht": "htable",
# }


# Path: kamcli/commands/cmd_config.py
import os
import sys
import json
import click
import shutil
from kamcli.cli import pass_context
from kamcli.cli import COMMAND_ALIASES



@click.group(
    "config",
    help="Manage the config file",
    short_help="Manage the config file",
)

@pass_context