This repository was archived by the owner on Feb 3, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcec.sh
More file actions
executable file
Β·60 lines (53 loc) Β· 1.84 KB
/
cec.sh
File metadata and controls
executable file
Β·60 lines (53 loc) Β· 1.84 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
51
52
53
54
55
56
57
58
59
60
#!/bin/bash
# Cold Email CLI - Simple Launcher Script
# Makes it easy to run the CLI without remembering paths
# Function to display usage
show_usage() {
echo "π Cold Email CLI - Multi-Platform Automation Suite"
echo ""
echo "Usage: ./cec.sh [platform|command]"
echo ""
echo "π’ Available Platforms:"
echo " smartlead π SmartLead Command Center"
echo " instantly π Instantly Automation Hub"
echo " apollo βοΈ Apollo Sequence Center"
echo " salesforge π₯ Salesforge AI Sequences"
echo " emailbison β‘ EmailBison Power Hub"
echo " amplemarket πΌ Amplemarket Intelligence"
echo " outreach π’ Outreach Enterprise"
echo " salesloft π Salesloft Cadences"
echo " lemlist π lemlist Creative Studio"
echo ""
echo "π Other Commands:"
echo " platforms List all available platforms"
echo " help Show this help message"
echo ""
echo "β¨ Examples:"
echo " ./cec.sh smartlead # Launch SmartLead shell"
echo " ./cec.sh platforms # List all platforms"
echo " ./cec.sh help # Show help"
}
# Check if no arguments provided
if [ $# -eq 0 ]; then
show_usage
exit 0
fi
# Check for help
if [ "$1" = "help" ] || [ "$1" = "--help" ] || [ "$1" = "-h" ]; then
show_usage
exit 0
fi
# Check if bun is installed
if ! command -v bun &> /dev/null; then
echo "β Error: Bun is not installed. Please install Bun first:"
echo " curl -fsSL https://bun.sh/install | bash"
exit 1
fi
# Check if we're in the right directory
if [ ! -f "package.json" ] || [ ! -f "src/cli.ts" ]; then
echo "β Error: Please run this script from the cold-email-cli directory"
exit 1
fi
# Run the CLI with the provided arguments
echo "π Launching Cold Email CLI..."
exec bun run src/cli.ts "$@"