Skip to content

Commit

Permalink
fix(configuration): Remove unnecessary commented-out code and prompts…
Browse files Browse the repository at this point in the history
… for various services.
  • Loading branch information
entelecheia committed Mar 28, 2024
1 parent f862729 commit ed66e3d
Showing 1 changed file with 0 additions and 186 deletions.
186 changes: 0 additions & 186 deletions chezmoi/.chezmoi.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -759,164 +759,6 @@
# {{- writeToStdout (printf "✅ lfs-folderstore location set as '%s'\n" $lfs_folderstore_dir) -}}
# {{- end -}}

# {{- if and $interactive ($minimum | not) -}}
# {{- $question := "❔ Do you want to use Codecov" -}}
# {{- $use_codecov = promptBool $question $use_codecov -}}
# {{- end -}}
# {{- if and $use_codecov $interactive -}}
# {{- $question := "❔ What is your Codecov api token" -}}
# {{- $answer := "" -}}
# {{- if $codecov_api_token -}}
# {{- $answer = promptString $question $codecov_api_token -}}
# {{- else -}}
# {{- $answer = promptString $question -}}
# {{- end -}}
# {{- $codecov_api_token = $answer -}}
# {{- end -}}
# {{- if $use_codecov -}}
# {{- writeToStdout "✅ Codecov enabled\n" -}}
# {{- writeToStdout "✅ Codecov API token set as '***'\n" -}}
# {{- else -}}
# {{- writeToStdout "❎ Codecov disabled\n" -}}
# {{- end -}}

# {{- if and $interactive ($minimum | not) -}}
# {{- $question := "❔ Do you want to use Sourcegraph" -}}
# {{- $use_sourcegraph = promptBool $question $use_sourcegraph -}}
# {{- end -}}
# {{- if and $use_sourcegraph $interactive -}}
# {{- $question := "❔ What is your Sourcegraph access token" -}}
# {{- $answer := "" -}}
# {{- if $sourcegraph_access_token -}}
# {{- $answer = promptString $question $sourcegraph_access_token -}}
# {{- else -}}
# {{- $answer = promptString $question -}}
# {{- end -}}
# {{- $sourcegraph_access_token = $answer -}}
# {{- end -}}
# {{- if $use_sourcegraph -}}
# {{- writeToStdout "✅ Sourcegraph enabled\n" -}}
# {{- writeToStdout "✅ Sourcegraph access token set as '***'\n" -}}
# {{- else -}}
# {{- writeToStdout "❎ Sourcegraph disabled\n" -}}
# {{- end -}}
# {{- if and $use_sourcegraph $interactive -}}
# {{- $question := "❔ What is your Sourcegraph endpoint" -}}
# {{- $answer := "" -}}
# {{- if $sourcegraph_endpoint -}}
# {{- $answer = promptString $question $sourcegraph_endpoint -}}
# {{- else -}}
# {{- $answer = promptString $question -}}
# {{- end -}}
# {{- $sourcegraph_endpoint = $answer -}}
# {{- writeToStdout (printf "✅ Sourcegraph endpoint set as '%s'\n" $sourcegraph_endpoint) -}}
# {{- end -}}

# {{- if and $interactive ($minimum | not) -}}
# {{- $question := "❔ Do you want to use WakaTime" -}}
# {{- $use_wakatime = promptBool $question $use_wakatime -}}
# {{- end -}}
# {{- if and $use_wakatime $interactive -}}
# {{- $question := "❔ What is your wakatime api key" -}}
# {{- $answer := "" -}}
# {{- if $wakatime_api_key -}}
# {{- $answer = promptString $question $wakatime_api_key -}}
# {{- else -}}
# {{- $answer = promptString $question -}}
# {{- end -}}
# {{- $wakatime_api_key = $answer -}}
# {{- end -}}
# {{- if $use_wakatime -}}
# {{- writeToStdout "✅ WakaTime enabled\n" -}}
# {{- writeToStdout "✅ WakaTime API key set as '***'\n" -}}
# {{- else -}}
# {{- writeToStdout "❎ WakaTime disabled\n" -}}
# {{- end -}}

# {{- if and $interactive ($minimum | not) -}}
# {{- $question := "❔ Do you want to use OpenAI API" -}}
# {{- $use_openai = promptBool $question $use_openai -}}
# {{- end -}}
# {{- if and $use_openai $interactive -}}
# {{- $question := "❔ What is your openai api key" -}}
# {{- $answer := "" -}}
# {{- if $openai_api_key -}}
# {{- $answer = promptString $question $openai_api_key -}}
# {{- else -}}
# {{- $answer = promptString $question -}}
# {{- end -}}
# {{- $openai_api_key = $answer -}}
# {{- end -}}
# {{- if $use_openai -}}
# {{- writeToStdout "✅ OpenAI API enabled\n" -}}
# {{- writeToStdout "✅ OpenAI API key set as '***'\n" -}}
# {{- else -}}
# {{- writeToStdout "❎ OpenAI API disabled\n" -}}
# {{- end -}}

# {{- if $use_cloudflared -}}
# {{- writeToStdout "✅ cloudflared enabled\n" -}}
# {{- else -}}
# {{- writeToStdout "❎ cloudflared disabled\n" -}}
# {{- end -}}

# {{- if $use_ngrok -}}
# {{- writeToStdout "✅ ngrok enabled\n" -}}
# {{- else -}}
# {{- writeToStdout "❎ ngrok disabled\n" -}}
# {{- end -}}
# {{- if and $interactive $use_ngrok -}}
# {{- $question := "❔ What is your ngrok authtoken" -}}
# {{- $answer := "" -}}
# {{- if $ngrok_authtoken -}}
# {{- $answer = promptString $question $ngrok_authtoken -}}
# {{- else -}}
# {{- $answer = promptString $question -}}
# {{- end -}}
# {{- $ngrok_authtoken = $answer -}}
# {{- end -}}
# {{- if $use_ngrok -}}
# {{- if $ngrok_authtoken -}}
# {{- writeToStdout "✅ ngrok authtoken set as '***'\n" -}}
# {{- else -}}
# {{- writeToStdout "❎ ngrok authtoken not set\n" -}}
# {{- end -}}
# {{- end -}}

# {{- if and $interactive $use_ngrok -}}
# {{- $question := "❔ What is your ssh service port for ngrok" -}}
# {{- $answer := "" -}}
# {{- if $ngrok_ssh_port -}}
# {{- $answer = promptString $question $ngrok_ssh_port -}}
# {{- else -}}
# {{- $answer = promptString $question -}}
# {{- end -}}
# {{- $ngrok_ssh_port = $answer -}}
# {{- end -}}
# {{- if $use_ngrok -}}
# {{- if $ngrok_ssh_port -}}
# {{- writeToStdout (printf "✅ ngrok ssh port set as '%s'\n" $ngrok_ssh_port) -}}
# {{- else -}}
# {{- writeToStdout "❎ ngrok ssh port not set\n" -}}
# {{- end -}}
# {{- end -}}

# {{- if and $interactive ($minimum | not) -}}
# {{- $question := "❔ What is your Doppler token" -}}
# {{- $answer := "" -}}
# {{- if $doppler_token -}}
# {{- $answer = promptString $question $doppler_token -}}
# {{- else -}}
# {{- $answer = promptString $question -}}
# {{- end -}}
# {{- $doppler_token = $answer -}}
# {{- end -}}
# {{- if $doppler_token -}}
# {{- writeToStdout "✅ Doppler Token set as '***'\n" -}}
# {{- else -}}
# {{- writeToStdout "❎ Doppler Token not set\n" -}}
# {{- end -}}

# {{- if and $interactive $use_pass -}}
# {{- $question := "❔ What is your password store repository URL (ex: /~https://github.com/username/.password-store.git)" -}}
# {{- $answer := "" -}}
Expand Down Expand Up @@ -949,12 +791,6 @@
# {{- writeToStdout "❎ passage repo not set\n" -}}
# {{- end -}}

# {{- if $use_1password -}}
# {{- writeToStdout "✅ 1password enabled\n" -}}
# {{- else -}}
# {{- writeToStdout "❎ 1password disabled\n" -}}
# {{- end -}}

# {{- if and $interactive ($minimum | not) -}}
# {{- $question := "❔ Do you want to use autorestic to backup your files" -}}
# {{- $use_autorestic = promptBool $question $use_autorestic -}}
Expand Down Expand Up @@ -1006,28 +842,6 @@
# {{- writeToStdout "❎ rbenv disabled\n" -}}
# {{- end -}}

# {{- if $use_microk8s -}}
# {{- writeToStdout "✅ MicroK8s enabled\n" -}}
# {{- else -}}
# {{- writeToStdout "❎ MicroK8s disabled\n" -}}
# {{- end -}}

# {{- if and $interactive ($minimum | not) -}}
# {{- $question := "❔ What are your GitHub repositories to clone (input as comma separated list, ex: entelecheia/devcon,entelecheia/ekorpkit)" -}}
# {{- $answer := "" -}}
# {{- if $github_clones -}}
# {{- $answer = promptString $question $github_clones -}}
# {{- else -}}
# {{- $answer = promptString $question -}}
# {{- end -}}
# {{- $github_clones = $answer -}}
# {{- end -}}
# {{- if $github_clones -}}
# {{- writeToStdout (printf "✅ GitHub repositories to clone set as '%s'\n" $github_clones) -}}
# {{- else -}}
# {{- writeToStdout "❎ GitHub repositories to clone not set\n" -}}
# {{- end -}}

# {{- $pkgs_user := "" -}}
# {{- if $use_dotdrop -}}
# {{- $pkgs_user = printf "%s dotdrop" $pkgs_user -}}
Expand Down

0 comments on commit ed66e3d

Please sign in to comment.