feat(install): wire the npm CLI reinstall prompt (Bash)
install.sh now asks whether to uninstall and reinstall the selected client CLI(s) via npm, using the helpers added to install-options.sh. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8379e29eb6
commit
5ae8e0cff5
1 file changed
+2
@@ -36,6 +36,7 @@ if [ "$dry_run" = false ]; then
|
||||
fi
|
||||
|
||||
read_install_options
|
||||
reinstall_via_npm=$(read_cli_reinstall_option "$client" "$dry_run")
|
||||
|
||||
build_args=()
|
||||
[ "$summary" = false ] || build_args+=(--summary)
|
||||
@@ -55,6 +56,7 @@ selected_plugins=()
|
||||
deselected_plugins=()
|
||||
select_configured_plugins "$root" "$client" Install "$dry_run" selected_plugins deselected_plugins
|
||||
[ "$update_agents" = false ] || update_selected_agent_clis
|
||||
[ "$reinstall_via_npm" = false ] || invoke_cli_reinstall "$client" "$dry_run" "$summary"
|
||||
|
||||
while IFS='|' read -r source destination; do
|
||||
ai_config_root=$destination
|
||||
|
||||
Reference in new issue
Block a user