Skip to content

Commit 8a2b0a7

Browse files
committed
init
0 parents  commit 8a2b0a7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+11300
-0
lines changed

.claude/settings.local.json

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"WebFetch(domain:developer.helpscout.com)",
5+
"WebSearch",
6+
"Bash(go version:*)",
7+
"Bash(go get:*)",
8+
"Bash(go build:*)",
9+
"Bash(go test:*)",
10+
"Bash(go mod tidy:*)",
11+
"WebFetch(domain:cli.github.com)",
12+
"WebFetch(domain:docs.github.com)",
13+
"Bash(go vet:*)",
14+
"Bash(go run:*)",
15+
"Bash(git init:*)",
16+
"Bash(gh auth:*)",
17+
"Bash(git add:*)",
18+
"Bash(git commit:*)",
19+
"Bash(git push:*)",
20+
"Bash(gh run list:*)",
21+
"Bash(gh workflow list:*)",
22+
"Bash(gh api:*)",
23+
"Bash(git tag:*)",
24+
"Bash(gh run watch:*)",
25+
"Bash(gh run view:*)",
26+
"Bash(gh release view:*)"
27+
]
28+
}
29+
}

.github/workflows/release.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- "v*"
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
19+
- uses: actions/setup-go@v5
20+
with:
21+
go-version-file: go.mod
22+
23+
- name: Run tests
24+
run: go test ./...
25+
26+
- uses: goreleaser/goreleaser-action@v6
27+
with:
28+
version: "~> v2"
29+
args: release --clean
30+
env:
31+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
32+
HOMEBREW_TAP_TOKEN: ${{ secrets.HOMEBREW_TAP_TOKEN }}

.gitignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Binary
2+
/helpscout
3+
/helpscout.exe
4+
/build/
5+
6+
# IDE
7+
.idea/
8+
.vscode/
9+
*.swp
10+
11+
# OS
12+
.DS_Store
13+
Thumbs.db
14+
15+
# Go
16+
/dist/

.goreleaser.yml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
version: 2
2+
3+
project_name: hs
4+
5+
builds:
6+
- main: ./cmd/hs
7+
binary: hs
8+
ldflags:
9+
- -s -w
10+
- -X main.version={{.Version}}
11+
- -X main.commit={{.ShortCommit}}
12+
- -X main.date={{.Date}}
13+
goos:
14+
- linux
15+
- darwin
16+
- windows
17+
goarch:
18+
- amd64
19+
- arm64
20+
21+
archives:
22+
- formats:
23+
- tar.gz
24+
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
25+
format_overrides:
26+
- goos: windows
27+
formats:
28+
- zip
29+
30+
checksum:
31+
name_template: checksums.txt
32+
33+
release:
34+
draft: true
35+
36+
brews:
37+
- repository:
38+
owner: operator-kit
39+
name: homebrew-tap
40+
token: "{{ .Env.HOMEBREW_TAP_TOKEN }}"
41+
homepage: "https://github.com/operator-kit/hs-cli"
42+
description: "HelpScout CLI — manage mailboxes, conversations, customers and more"
43+
install: |
44+
bin.install "hs"
45+
test: |
46+
system "#{bin}/hs", "version"
47+
48+
changelog:
49+
sort: asc
50+
filters:
51+
exclude:
52+
- "^docs:"
53+
- "^test:"
54+
- "^ci:"

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2026 Pinch
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)