Skip to content

Any way to handle headless envs better? #78

@peter-bread

Description

@peter-bread

.dotfiles/install

Lines 537 to 555 in c8fc2e7

setup_personal_github() {
local account="peter-bread"
local category="personal"
# TODO: Add logging.
# --github-auth (and --add-keys, but this is because it depends on the other flag)
# requires manual intervention to copy and paste codes into a browser. This means
# it cannot be used in a headless environment.
./scripts/setup-github-account "$account" \
--category "$category" \
--base-dir "${DEVELOPER:-$HOME/Developer}" \
--email "145384599+peter-bread@users.noreply.github.com" \
--allowed-signers \
--gen-keys \
--github-auth \
--add-keys
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions