# Path: gg/main.py
# DEFAULT_CONFIGFILE = os.path.expanduser("~/.gg.json")
# class Config:
#     def __init__(self):
# def cli(config, configfile, verbose):
# 
# Path: gg/utils.py
# def error_out(msg, raise_abort=True):
#     click.echo(click.style(msg, fg="red"))
#     if raise_abort:
#         raise click.Abort
# 
# def info_out(msg):
#     click.echo(msg)
# 
# def success_out(msg):
#     click.echo(click.style(msg, fg="green"))
# 
# def warning_out(msg):
#     click.echo(click.style(msg, fg="yellow"))


import datetime
import click
import git
from gg.main import cli, pass_config
from gg.utils import error_out, info_out, success_out, warning_out



class InvalidRemoteName(Exception):
    """when a remote doesn't exist"""


DEFAULT_CUTOFF = 10


@cli.command()
@click.option(
    "-y",
    "--yes",
    default=False,
    is_flag=True,
    help="Immediately say yes to any questions",
)
@click.option(
    "-n",
    "--cutoff",
    default=DEFAULT_CUTOFF,
    help="Max. number of branches to show",
    show_default=True,
)
@click.argument("searchstring", default="")

# Path: gg/main.py
# DEFAULT_CONFIGFILE = os.path.expanduser("~/.gg.json")
# class Config:
#     def __init__(self):
# def cli(config, configfile, verbose):
# 
# Path: gg/utils.py
# def error_out(msg, raise_abort=True):
#     click.echo(click.style(msg, fg="red"))
#     if raise_abort:
#         raise click.Abort
# 
# def info_out(msg):
#     click.echo(msg)
# 
# def success_out(msg):
#     click.echo(click.style(msg, fg="green"))
# 
# def warning_out(msg):
#     click.echo(click.style(msg, fg="yellow"))


# Path: gg/builtins/branches/gg_branches.py
import datetime
import click
import git
from gg.main import cli, pass_config
from gg.utils import error_out, info_out, success_out, warning_out




class InvalidRemoteName(Exception):
    """when a remote doesn't exist"""


DEFAULT_CUTOFF = 10


@cli.command()
@click.option(
    "-y",
    "--yes",
    default=False,
    is_flag=True,
    help="Immediately say yes to any questions",
)
@click.option(
    "-n",
    "--cutoff",
    default=DEFAULT_CUTOFF,
    help="Max. number of branches to show",
    show_default=True,
)
@click.argument("searchstring", default="")

@pass_config