Skip to content

Commit b2d141f

Browse files
author
privapps
committed
Update command from 'start' to 'run' in Dockerfile, Makefile, and documentation for consistency
1 parent 0914332 commit b2d141f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,4 +47,4 @@ HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
4747
CMD wget --no-verbose --tries=1 --spider http://localhost:8081/health || exit 1
4848

4949
# Run the binary
50-
CMD ["./github-copilot-svcs", "start"]
50+
CMD ["./github-copilot-svcs", "run"]

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ build-windows-arm64:
2929

3030
# Run the application
3131
run: build
32-
./$(BINARY) start
32+
./$(BINARY) run
3333

3434
# Development server with hot reload (requires air: go install github.com/cosmtrek/air@latest)
3535
dev:

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Docker images are automatically built and published to GitHub Container Registry
4242
docker pull ghcr.io/privapps/github-copilot-svcs:latest
4343

4444
# Pull a specific version (example)
45-
docker pull ghcr.io/privapps/github-copilot-svcs:v0.0.2
45+
docker pull ghcr.io/privapps/github-copilot-svcs:0.0.2
4646
```
4747

4848
Available architectures:
@@ -144,7 +144,7 @@ cp config.example.json ~/.local/share/github-copilot-svcs/config.json
144144
```bash
145145
make run
146146
# or manually:
147-
./github-copilot-svcs start
147+
./github-copilot-svcs run
148148
```
149149

150150
## Docker Deployment
@@ -185,7 +185,7 @@ docker exec -it github-copilot-svcs ./github-copilot-svcs auth
185185

186186
| Command | Description |
187187
|---------|-------------|
188-
| `start` | Start the proxy server (default command) |
188+
| `run` | Run the proxy server (default command) |
189189
| `auth` | Authenticate with GitHub Copilot using device flow |
190190
| `status` | Show detailed authentication and token status |
191191
| `config` | Display current configuration details |
@@ -425,7 +425,7 @@ The proxy automatically maps common model names to GitHub Copilot models:
425425
curl http://localhost:8081/health
426426

427427
# View logs (if running in foreground)
428-
./github-copilot-svcs start
428+
./github-copilot-svcs run
429429
```
430430

431431
### Port Conflicts

internal/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Commands:
4545
4646
Examples:
4747
%s auth # Authenticate with GitHub
48-
%s start --port 8080 # Start server on port 8080
48+
%s run --port 8080 # Run server on port 8080
4949
%s status --json # Show status in JSON format
5050
5151
Environment Variables:

0 commit comments

Comments
 (0)