INNER CODE UNIT · Python

get_git_email

gorilla-llm/gorilla-cli · go_cli.py:57

def get_git_email():
    return subprocess.check_output(["git", "config", "--global", "user.email"]).decode("utf-8").strip()

def get_system_info():
    return platform.system()

def write_uid_to_file(uid):
    with open(USERID_FILE, "w") as f:
        f.write(uid)

def append_to_bash_history(selected_command):
    try:
        with open(os.path.expanduser("~/.bash_history"), "a") as history_file:
            history_file.write(selected_command + '\n')
    except Exception as e:
        pass

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…