-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path__init__.py
More file actions
38 lines (30 loc) · 1.21 KB
/
__init__.py
File metadata and controls
38 lines (30 loc) · 1.21 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
"""Stacky - GitHub helper for stacked diffs."""
from .main import main
# Re-exports for backward compatibility with tests
from .utils.shell import _check_returncode, run, run_always_return, run_multiline
from .utils.logging import (
die, cout, debug, info, warning, error, fmt,
COLOR_STDOUT, COLOR_STDERR, ExitException
)
from .utils.types import BranchName, Commit, CmdArgs, STACK_BOTTOMS
from .utils.config import StackyConfig, get_config, read_config
from .utils.ui import confirm, prompt
from .git.branch import (
get_current_branch, get_all_branches, get_top_level_dir,
get_stack_parent_branch, checkout, create_branch
)
from .git.remote import (
get_remote_info, get_remote_type, gen_ssh_mux_cmd,
start_muxed_ssh, stop_muxed_ssh
)
from .git.refs import get_stack_parent_commit, set_parent_commit, get_commit
from .stack.models import PRInfo, PRInfos, StackBranch, StackBranchSet
from .stack.tree import (
get_all_stacks_as_forest, get_current_stack_as_forest,
get_current_downstack_as_forest, get_current_upstack_as_forest,
print_tree, print_forest, format_tree
)
from .pr.github import find_issue_marker, get_pr_info, create_gh_pr
from .commands.land import cmd_land
def runner():
main()