sentron-cli 1.0.21 → 1.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +43 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -23,6 +23,22 @@ npm install -g sentron-cli
|
|
|
23
23
|
sentron auth signin
|
|
24
24
|
```
|
|
25
25
|
|
|
26
|
+
## Quick Start
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
# 1. Sign in with your email
|
|
30
|
+
sentron auth signin
|
|
31
|
+
|
|
32
|
+
# 2. Create an API key for programmatic access
|
|
33
|
+
sentron auth api-key create --name "My App"
|
|
34
|
+
|
|
35
|
+
# 3. Check your usage metrics
|
|
36
|
+
sentron metrics summary
|
|
37
|
+
|
|
38
|
+
# 4. Search documentation
|
|
39
|
+
sentron docs search "authentication"
|
|
40
|
+
```
|
|
41
|
+
|
|
26
42
|
## Commands
|
|
27
43
|
|
|
28
44
|
### Authentication
|
|
@@ -88,10 +104,37 @@ sentron metrics get
|
|
|
88
104
|
# View metrics for specific time period
|
|
89
105
|
sentron metrics get --days 7
|
|
90
106
|
|
|
107
|
+
# Get time-series data for charts
|
|
108
|
+
sentron metrics time-series --days 30
|
|
109
|
+
|
|
110
|
+
# Get API key usage breakdown
|
|
111
|
+
sentron metrics api-keys
|
|
112
|
+
|
|
113
|
+
# Get metrics for a specific API key
|
|
114
|
+
sentron metrics api-key <key-id>
|
|
115
|
+
|
|
91
116
|
# Output as JSON
|
|
92
117
|
sentron metrics get --json
|
|
93
118
|
```
|
|
94
119
|
|
|
120
|
+
### Mailing List
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
# Check subscription status
|
|
124
|
+
sentron mailing-list status
|
|
125
|
+
|
|
126
|
+
# Subscribe to updates
|
|
127
|
+
sentron mailing-list subscribe
|
|
128
|
+
|
|
129
|
+
# Unsubscribe from updates
|
|
130
|
+
sentron mailing-list unsubscribe
|
|
131
|
+
|
|
132
|
+
# Short aliases
|
|
133
|
+
sentron ml status
|
|
134
|
+
sentron ml sub
|
|
135
|
+
sentron ml unsub
|
|
136
|
+
```
|
|
137
|
+
|
|
95
138
|
### Documentation
|
|
96
139
|
|
|
97
140
|
```bash
|