Skip to content

Commit 40a87b9

Browse files
adhikjoshiclaude
andcommitted
Fix module path to match repo name and add Homebrew tap
- Rename Go module from github.com/ModelsLab/cli to github.com/ModelsLab/modelslab-cli - Update all internal import paths to match - Add homebrew_casks config to .goreleaser.yml for brew install support - Fix install.sh and README.md repo URLs to use modelslab-cli Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3a1fa06 commit 40a87b9

20 files changed

Lines changed: 39 additions & 31 deletions

.goreleaser.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,14 @@ changelog:
4949
- "^ci:"
5050
- "Merge pull request"
5151

52+
homebrew_casks:
53+
- repository:
54+
owner: ModelsLab
55+
name: homebrew-tap
56+
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
57+
homepage: https://modelslab.com/cli
58+
description: "ModelsLab CLI — AI generation and account management from the terminal"
59+
5260
scoops:
5361
- repository:
5462
owner: ModelsLab

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,25 +23,25 @@ scoop install modelslab
2323

2424
```bash
2525
# Download the latest .deb from GitHub Releases
26-
curl -fsSL https://github.com/ModelsLab/cli/releases/latest/download/modelslab_linux_amd64.deb -o modelslab.deb
26+
curl -fsSL https://github.com/ModelsLab/modelslab-cli/releases/latest/download/modelslab_linux_amd64.deb -o modelslab.deb
2727
sudo dpkg -i modelslab.deb
2828
```
2929

3030
### Direct Download (any platform)
3131

3232
```bash
33-
curl -fsSL https://raw.githubusercontent.com/ModelsLab/cli/main/install.sh | sh
33+
curl -fsSL https://raw.githubusercontent.com/ModelsLab/modelslab-cli/main/install.sh | sh
3434
```
3535

3636
### Go Install
3737

3838
```bash
39-
go install github.com/ModelsLab/cli/cmd/modelslab@latest
39+
go install github.com/ModelsLab/modelslab-cli/cmd/modelslab@latest
4040
```
4141

4242
### Manual Download
4343

44-
Download the latest binary for your platform from [GitHub Releases](https://github.com/ModelsLab/cli/releases).
44+
Download the latest binary for your platform from [GitHub Releases](https://github.com/ModelsLab/modelslab-cli/releases).
4545

4646
| Platform | Architecture | Download |
4747
|----------|-------------|----------|

cmd/modelslab/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"fmt"
55
"os"
66

7-
"github.com/ModelsLab/cli/internal/cmd"
7+
"github.com/ModelsLab/modelslab-cli/internal/cmd"
88
)
99

1010
// Set by goreleaser ldflags

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/ModelsLab/cli
1+
module github.com/ModelsLab/modelslab-cli
22

33
go 1.25.0
44

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Usage: curl -fsSL https://modelslab.com/cli/install.sh | sh
44
set -e
55

6-
REPO="ModelsLab/cli"
6+
REPO="ModelsLab/modelslab-cli"
77
BINARY="modelslab"
88

99
# Detect OS and architecture

internal/cmd/auth.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"strings"
77
"syscall"
88

9-
"github.com/ModelsLab/cli/internal/api"
10-
"github.com/ModelsLab/cli/internal/auth"
11-
"github.com/ModelsLab/cli/internal/output"
9+
"github.com/ModelsLab/modelslab-cli/internal/api"
10+
"github.com/ModelsLab/modelslab-cli/internal/auth"
11+
"github.com/ModelsLab/modelslab-cli/internal/output"
1212
"github.com/spf13/cobra"
1313
"golang.org/x/term"
1414
)

internal/cmd/billing.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package cmd
33
import (
44
"fmt"
55

6-
"github.com/ModelsLab/cli/internal/api"
7-
"github.com/ModelsLab/cli/internal/output"
6+
"github.com/ModelsLab/modelslab-cli/internal/api"
7+
"github.com/ModelsLab/modelslab-cli/internal/output"
88
"github.com/spf13/cobra"
99
)
1010

internal/cmd/config.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55
"os"
66
"path/filepath"
77

8-
"github.com/ModelsLab/cli/internal/auth"
9-
"github.com/ModelsLab/cli/internal/config"
10-
"github.com/ModelsLab/cli/internal/output"
8+
"github.com/ModelsLab/modelslab-cli/internal/auth"
9+
"github.com/ModelsLab/modelslab-cli/internal/config"
10+
"github.com/ModelsLab/modelslab-cli/internal/output"
1111
"github.com/spf13/cobra"
1212
)
1313

internal/cmd/docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package cmd
33
import (
44
"fmt"
55

6-
"github.com/ModelsLab/cli/internal/output"
6+
"github.com/ModelsLab/modelslab-cli/internal/output"
77
"github.com/spf13/cobra"
88
)
99

internal/cmd/generate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strings"
1111
"time"
1212

13-
"github.com/ModelsLab/cli/internal/output"
13+
"github.com/ModelsLab/modelslab-cli/internal/output"
1414
"github.com/spf13/cobra"
1515
)
1616

0 commit comments

Comments
 (0)