Skip to content

Align auplc-installer CLI with TUI and add install dry-run#108

Merged
KerwinTsaiii merged 8 commits into
developfrom
feat/installer-cli-tui-parity
May 29, 2026
Merged

Align auplc-installer CLI with TUI and add install dry-run#108
KerwinTsaiii merged 8 commits into
developfrom
feat/installer-cli-tui-parity

Conversation

@KerwinTsaiii
Copy link
Copy Markdown
Collaborator

Summary

  • Add TUI-aligned CLI flags: --runtime, --image-source, --image-registry, --image-tag, and --gpu=auto
  • Add install --dry-run / --try-run to print the Configuration summary without sudo or system changes
  • Default install image acquisition to pull (matching the TUI) and unify TUI/CLI wording to pull / build instead of GHCR-specific labels
  • Extract shared summary formatting into auplc_installer/summary.py; legacy --pull, --docker, ghcr, and env vars remain supported

Test plan

  • python -m unittest discover tests/installer -v (103 tests pass)
  • ./auplc-installer install --dry-run --image-tag=develop prints expected Configuration summary with Image source : pull
  • ./auplc-installer install --image-source=build --dry-run shows Image source : build
  • Full ./auplc-installer install --image-source=pull --image-tag=develop on a test host

Made with Cursor

KerwinTsaiii and others added 2 commits May 29, 2026 14:08
Add explicit flags for runtime, image source, registry, and tag so scripted installs match the wizard, default image acquisition to pull, and expose install --dry-run to preview the configuration summary without sudo.

Co-authored-by: Cursor <cursoragent@cursor.com>
Intercept help flags before argparse runs because the parser uses add_help=False for the legacy hand-rolled help output.

Co-authored-by: Cursor <cursoragent@cursor.com>
@KerwinTsaiii KerwinTsaiii requested a review from MioYuuIH May 29, 2026 06:11
KerwinTsaiii and others added 6 commits May 29, 2026 14:12
Co-authored-by: Cursor <cursoragent@cursor.com>
Document TUI and CLI install paths, default pull behavior, dry-run preview, and a concise sample of the eight-stage install output.

Co-authored-by: Cursor <cursoragent@cursor.com>
…images.

Co-authored-by: Cursor <cursoragent@cursor.com>
Restore separated code blocks, explain GPU auto-detection with GHCR tag suffixes, and re-add dry-run and common-options examples.

Co-authored-by: Cursor <cursoragent@cursor.com>
Use the default install command in examples, show the full success banner in sample output, point image builds to auplc-installer instead of raw make targets, and defer dry-run/options detail to the docs site.

Co-authored-by: Cursor <cursoragent@cursor.com>
Document Ryzen AI 300+ and Radeon 9000 series GPUs, require questionary and prompt_toolkit for interactive install, and clarify OEM kernel applies to Ryzen AI APUs only.

Co-authored-by: Cursor <cursoragent@cursor.com>
@KerwinTsaiii KerwinTsaiii merged commit 225aa79 into develop May 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants