Skip to content

Add --only-scripts flag to update command#58

Merged
albertodebortoli merged 1 commit intomainfrom
add-only-scripts-flag
Apr 10, 2026
Merged

Add --only-scripts flag to update command#58
albertodebortoli merged 1 commit intomainfrom
add-only-scripts-flag

Conversation

@albertodebortoli
Copy link
Copy Markdown
Member

Description

  • Adds --only-scripts flag to luca update that refreshes helper scripts (post-checkout, shell_hook.sh) in ~/.luca/ without updating the CLI binary.
  • Naming is consistent with --only-tools and --only-skills on the install command.
  • Makes refreshScripts() public on SelfUpdating protocol and SelfUpdater.

Type of Change

  • Feature

How Has This Been Tested?

  • Swift code builds locally (swift build)
  • Tests pass locally (swift test) — 352 tests passing
  • Tested on macOS (arch: arm64)

Checklist

  • Swift code builds locally (swift build)
  • Tests pass locally (swift test)
  • Code style / formatting respected
  • PR title follows conventional style

Breaking Changes?

  • No

CI Considerations

  • No new secrets / env vars required
  • No changes to release process

Allow refreshing helper scripts (post-checkout, shell_hook.sh) without
updating the CLI binary. Consistent with --only-tools and --only-skills
flags on the install command.
@albertodebortoli albertodebortoli added this to the 0.14.0 milestone Apr 10, 2026
@albertodebortoli albertodebortoli added the feature New feature or enhancement label Apr 10, 2026
@albertodebortoli albertodebortoli changed the title Add --only-scripts flag to update command Add --only-scripts flag to update command Apr 10, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@albertodebortoli albertodebortoli marked this pull request as ready for review April 10, 2026 12:14
@albertodebortoli albertodebortoli merged commit 82ea2f2 into main Apr 10, 2026
3 checks passed
@albertodebortoli albertodebortoli deleted the add-only-scripts-flag branch April 10, 2026 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant