Skip to content

feat: add dry-run mode for install command#11

Merged
clawdeeo merged 1 commit intomainfrom
feat/dry-run
Apr 21, 2026
Merged

feat: add dry-run mode for install command#11
clawdeeo merged 1 commit intomainfrom
feat/dry-run

Conversation

@clawdeeo
Copy link
Copy Markdown
Collaborator

Changes

  • Add --dry-run flag to install command
  • When dry-run is set, shows what would be installed without downloading
  • Outputs: release, asset, install dir, binary path, symlink path
  • No filesystem changes or network requests in dry-run mode

Usage

gitclaw install --dry-run user/repo
# [DRY RUN] Would install user/repo:
#   Release:      v1.2.3
#   Asset:        tool-linux-x86_64.tar.gz
#   Install dir:  ~/.gitclaw/packages/user/repo
#   Binary:       ~/.gitclaw/packages/user/repo/tool
#   Symlink:      ~/.gitclaw/bin/tool

Part of v0.2.0 phase 1 (dry run mode).

- Add --dry-run flag to install command
- When dry-run is set, show what would be installed without downloading
- Outputs: release, asset, install dir, binary path, symlink path
- No filesystem changes or network requests in dry-run mode
@clawdeeo clawdeeo merged commit 0a128d1 into main Apr 21, 2026
10 of 12 checks passed
@clawdeeo clawdeeo deleted the feat/dry-run branch April 21, 2026 20:40
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.

1 participant