-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_github.sh
More file actions
executable file
·50 lines (42 loc) · 1.25 KB
/
setup_github.sh
File metadata and controls
executable file
·50 lines (42 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#!/bin/bash
# Setup GitHub repository for ClipQueue
set -e
echo "🚀 Setting up GitHub repository for ClipQueue"
echo ""
# Check if gh is installed
if ! command -v gh &> /dev/null; then
echo "❌ GitHub CLI (gh) is not installed"
echo "Install with: brew install gh"
exit 1
fi
# Check if authenticated
if ! gh auth status &> /dev/null; then
echo "🔐 You need to authenticate with GitHub first"
echo "Running: gh auth login"
echo ""
gh auth login
fi
echo ""
echo "📝 Creating GitHub repository..."
echo ""
echo "Repository name: ClipQueue"
echo "Description: A macOS menu bar app that queues clipboard items and lets you paste them sequentially"
echo "Visibility: Public (for open source)"
echo ""
# Create the repository
gh repo create ClipQueue \
--public \
--description "A macOS menu bar app that queues clipboard items and lets you paste them sequentially using keyboard shortcuts" \
--source=. \
--remote=origin \
--push
echo ""
echo "✅ Repository created and pushed!"
echo ""
echo "🌐 View your repository:"
gh repo view --web
echo ""
echo "📋 Next steps:"
echo " - Add topics/tags on GitHub: swift, macos, clipboard, menubar-app"
echo " - Consider adding a LICENSE file"
echo " - Add screenshots to README"