Skip to content

chore: change the entry point to support go install#56

Merged
notnmeyer merged 2 commits intomainfrom
chore/go-install
Apr 17, 2026
Merged

chore: change the entry point to support go install#56
notnmeyer merged 2 commits intomainfrom
chore/go-install

Conversation

@notnmeyer
Copy link
Copy Markdown
Member

@notnmeyer notnmeyer commented Apr 17, 2026

moves the cli's entry point from main.go to cmd/loops/main.go for easier go install use.

go install github.com/loops-so/cli/cmd/loops@latest will grab the code, compile it, and install to $GOBIN.

can't test the full fat command yet, but go install ./cmd/loops more or less shows how it'll work,

➜ go install ./cmd/loops
➜ which loops && loops version
/Users/nate/.local/share/mise/installs/go/1.26.2/bin/loops
loops 0.0.5-0.20260417152556-428416645235+dirty (commit: 4284166)

@notnmeyer notnmeyer self-assigned this Apr 17, 2026
@notnmeyer notnmeyer requested a review from nalanj April 17, 2026 15:29
@notnmeyer notnmeyer merged commit 50e4847 into main Apr 17, 2026
2 checks passed
@notnmeyer notnmeyer deleted the chore/go-install branch April 17, 2026 15:50
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.

2 participants