Feature: Add ./uis pull command
IMPLEMENTATION RULES: Before implementing this plan, read and follow:
- WORKFLOW.md - The implementation process
- PLANS.md - Plan structure and best practices
Status: Backlog
Goal: Add a ./uis pull command to the repo-root wrapper that pulls the latest container image and restarts the container
Last Updated: 2026-03-11
Related: INVESTIGATE-container-pull-command.md
Overview
The repo-root ./uis wrapper has no command to update the container image. The website/static/uis wrapper already has a working update command. This plan adds pull to the repo-root wrapper and updates the help text.
Phase 1: Add pull command to repo-root wrapper
Tasks
- 1.1 Add
pull_container()function to./uis(adapt fromwebsite/static/uisupdate_container(), renamed topull) - 1.2 Add
pullcase to the main command handler - 1.3 Add
pullto the help text in thehelpcase output
Validation
./uis pull
Container image is pulled and container restarts. User confirms.
Phase 2: Update website wrapper
Tasks
- 2.1 Rename
updatetopullinwebsite/static/uis(function name, case handler, help text, header comment)
Validation
User confirms the rename looks correct.
Acceptance Criteria
-
./uis pullpulls the latest image and restarts the container -
./uis helpshows thepullcommand - Both wrappers (
./uisandwebsite/static/uis) use the same command namepull
Files to Modify
uis(repo-root wrapper)website/static/uis(website-distributed wrapper)