Skip to content

Add open command for local files, remote URLs, and MRU pick#41

Merged
kzu merged 1 commit into
mainfrom
dev/open
Jul 22, 2026
Merged

Add open command for local files, remote URLs, and MRU pick#41
kzu merged 1 commit into
mainfrom
dev/open

Conversation

@kzu

@kzu kzu commented Jul 22, 2026

Copy link
Copy Markdown
Member

Summary

  • Add open CLI command: shell-opens existing local files, or resolves remote refs to their web URLs and opens those
  • Zero-arg open reuses the MRU history picker (no app-args prompt); empty history / non-interactive fail clearly
  • Pure OpenTarget resolution + injectable ShellOpen for testability; GoArgs treats open as non-forwarding
  • Documented in root readme.md; unit tests cover local/remote targets, invalid input, and args handling

Test plan

  • dotnet test on src/Tests (open + GoArgs tests)
  • go open --help lists the command
  • Non-interactive go open with no args exits non-zero with a clear error
  • Invalid input exits non-zero without opening

Shell-open existing local paths or remote-ref web URLs without
download/run; zero-arg open reuses the history picker. Documented
in root readme; unit tests cover resolution and GoArgs handling.
@kzu kzu added the enhancement New feature or request label Jul 22, 2026
@kzu
kzu enabled auto-merge (rebase) July 22, 2026 04:38
@kzu

kzu commented Jul 22, 2026

Copy link
Copy Markdown
Member Author

109 passed 109 passed

🧪 Details on Ubuntu 24.04.4 LTS

from retest v1.1.0 on .NET 10.0.10 with 💜 by @devlooped

@kzu
kzu merged commit 47641b1 into main Jul 22, 2026
4 checks passed
@kzu
kzu deleted the dev/open branch July 22, 2026 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant