-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmobitag-auth.tape
More file actions
67 lines (55 loc) · 1.09 KB
/
mobitag-auth.tape
File metadata and controls
67 lines (55 loc) · 1.09 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
61
62
63
64
65
66
67
# Where should we write the GIF?
Output media/auth/mobitag.webm
Output media/auth/mobitag.gif
Set Margin 60
Set MarginFill "#6B50FF"
Set BorderRadius 10
# Set up a 1200x600 terminal with 46px font.
Set FontSize 14
Set Width 1200
Set Height 600
Type "# ⚙️ Build from source"
Enter
Type "go build -o bin/mobitag main.go"
Enter
Sleep 5000ms
Type "# Add the cli to your path"
Enter
Type "export PATH=$PATH:$(pwd)/bin"
Enter
Type "clear"
Enter
Type "# 🚀 Enjoy the cli"
Enter
Type "# 📝 Get help"
Enter
Type "mobitag --help"
Enter
Sleep 2000ms
Type "# 📝 About mobitag"
Enter
Type "mobitag about"
Enter
Sleep 2000ms
Type "# 🧪 Test environment"
Enter
Type "mobitag check-apikey"
Enter
Sleep 2000ms
Type "# 📲 Send sms"
Enter
Type `mobitag send --to ${MOBILIS_NUMBER} --message "The CI successfully sent a mobitag"`
Enter
Sleep 5s
Type "# 📲 Send sms with a pipe"
Enter
Type `echo "The CI successfully piped a mobitag" | mobitag pipe --to ${MOBILIS_NUMBER}
Enter
Sleep 5s
Type "# 📲 That's all folks!"
Enter
Sleep 1s
Type "# 🔖 Stay connected"
Enter
Type "# github.com/opt-nc/mobitag"
Sleep 3s