Skip to content

Commit 485b6e0

Browse files
pRizzclaude
andcommitted
feat(quick-deploy): restore IOTP management hints to all banners
Now that opencode-cloud-bootstrap reset works unconditionally (even when users exist), restore the IOTP management block (check status + reset) to both display_already_configured() and display_setup_complete(). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 5ab3242 commit 485b6e0

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

scripts/quick-deploy.sh

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,10 @@ display_already_configured() {
540540
printf '\n'
541541
printf ' Open %s%s%s and sign in with your existing credentials.\n' "$COLOR_CYAN" "$SERVICE_URL" "$COLOR_RESET"
542542
printf '\n'
543+
printf ' %sIOTP management:%s\n' "$COLOR_BOLD" "$COLOR_RESET"
544+
printf ' Check status: %sdocker exec %s /usr/local/bin/opencode-cloud-bootstrap status%s\n' "$COLOR_CYAN" "$CONTAINER_NAME" "$COLOR_RESET"
545+
printf ' Reset IOTP: %sdocker exec %s /usr/local/bin/opencode-cloud-bootstrap reset%s\n' "$COLOR_CYAN" "$CONTAINER_NAME" "$COLOR_RESET"
546+
printf '\n'
543547
display_useful_commands
544548
}
545549

@@ -556,8 +560,9 @@ display_setup_complete() {
556560
printf '\n'
557561
printf ' Open %s%s%s and sign in with your credentials.\n' "$COLOR_CYAN" "$SERVICE_URL" "$COLOR_RESET"
558562
printf '\n'
559-
printf ' %sTo generate a new IOTP (re-run first-time setup):%s\n' "$COLOR_BOLD" "$COLOR_RESET"
560-
printf ' %sdocker exec %s /usr/local/bin/opencode-cloud-bootstrap reset%s\n' "$COLOR_CYAN" "$CONTAINER_NAME" "$COLOR_RESET"
563+
printf ' %sIOTP management:%s\n' "$COLOR_BOLD" "$COLOR_RESET"
564+
printf ' Check status: %sdocker exec %s /usr/local/bin/opencode-cloud-bootstrap status%s\n' "$COLOR_CYAN" "$CONTAINER_NAME" "$COLOR_RESET"
565+
printf ' Reset IOTP: %sdocker exec %s /usr/local/bin/opencode-cloud-bootstrap reset%s\n' "$COLOR_CYAN" "$CONTAINER_NAME" "$COLOR_RESET"
561566
printf '\n'
562567
display_useful_commands
563568
}

0 commit comments

Comments
 (0)