Skip to content

Show host profile install status in lnk list --all - #28

Merged
polymorcodeus merged 2 commits into
mainfrom
host-status
Aug 29, 2026
Merged

Show host profile install status in lnk list --all#28
polymorcodeus merged 2 commits into
mainfrom
host-status

Conversation

@polymorcodeus

Copy link
Copy Markdown
Owner

What's new

  • lnk list --all now tags each host scope with [active] or [not installed] by checking whether any managed symlink exists on the current machine. Common scope is always active.
  • No configuration, marker files, or migration needed -- detection is entirely automatic.

Usage

$ lnk list --all
common:
.bashrc
.gitconfig
personal [active]:
.ssh/config
work [not installed]:
.gitconfig.work

Testing

  • service/list_test.go -- 6 new tests covering active host, inactive host, common always active, host-scope flag, and empty host scope.
  • Full make check (fmt, vet, lint, unit tests, integration tests) passes.

Closes#6.

@polymorcodeuspolymorcodeus self-assigned this Aug 29, 2026
@polymorcodeus
polymorcodeus merged commit bad8c6e into mainAug 29, 2026
4 checks passed
@polymorcodeus
polymorcodeus deleted the host-status branch August 29, 2026 06:08
Sign up for freeto 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.

Feature: Display either active or inactive status in lnk list --all

1 participant

@polymorcodeus