smoothie-code 2.0.0 → 2.0.1

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.
Files changed (2) hide show
  1. package/bin/smoothie +42 -25
  2. package/package.json +1 -1
package/bin/smoothie CHANGED
@@ -14,6 +14,35 @@ fi
14
14
  # Ensure ~/.smoothie exists
15
15
  mkdir -p "$SMOOTHIE_HOME"
16
16
 
17
+ show_help() {
18
+ echo ""
19
+ echo " 🧃 Smoothie — multi-model code review"
20
+ echo ""
21
+ echo " smoothie install Run the installer"
22
+ echo ""
23
+ echo " smoothie models Pick models interactively"
24
+ echo " smoothie models list Show current models"
25
+ echo " smoothie models add <id> Add by OpenRouter model ID"
26
+ echo " smoothie models remove <id> Remove a model"
27
+ echo ""
28
+ echo " smoothie auto Show auto-review status"
29
+ echo " smoothie auto on Enable auto-review for plans"
30
+ echo " smoothie auto off Disable auto-review"
31
+ echo ""
32
+ echo " smoothie review \"<prompt>\" Run a review from terminal"
33
+ echo " smoothie review --deep \"<prompt>\" Deep review with full context"
34
+ echo ""
35
+ echo " smoothie stats Usage stats and history"
36
+ echo " smoothie stats --share Shareable stats page"
37
+ echo " smoothie share Share last review report"
38
+ echo ""
39
+ echo " smoothie leaderboard View weekly rankings"
40
+ echo " smoothie leaderboard join Join the leaderboard"
41
+ echo " smoothie leaderboard leave Leave and delete data"
42
+ echo " smoothie leaderboard profile Set Twitter handle"
43
+ echo ""
44
+ }
45
+
17
46
  case "$1" in
18
47
  models)
19
48
  shift
@@ -239,31 +268,19 @@ case "$1" in
239
268
  ;;
240
269
  esac
241
270
  ;;
242
- help|--help|-h|"")
243
- echo ""
244
- echo " 🧃 Smoothie — multi-model review for Claude Code"
245
- echo ""
246
- echo " smoothie models Pick models interactively"
247
- echo " smoothie models list Show current models"
248
- echo " smoothie models add <id> Add by OpenRouter model ID"
249
- echo " smoothie models remove <id> Remove a model"
250
- echo ""
251
- echo " smoothie auto Show auto-review status"
252
- echo " smoothie auto on Enable auto-review for plans"
253
- echo " smoothie auto off Disable auto-review"
254
- echo ""
255
- echo " smoothie review \"<prompt>\" Run a review from terminal"
256
- echo " smoothie review --deep \"<prompt>\" Deep review with full context"
257
- echo ""
258
- echo " smoothie stats Usage stats and history"
259
- echo " smoothie stats --share Shareable stats page"
260
- echo " smoothie share Share last review report"
261
- echo ""
262
- echo " smoothie leaderboard View weekly rankings"
263
- echo " smoothie leaderboard join Join the leaderboard"
264
- echo " smoothie leaderboard leave Leave and delete data"
265
- echo " smoothie leaderboard profile Set Twitter handle"
266
- echo ""
271
+ install)
272
+ bash "$INSTALL_DIR/install.sh"
273
+ ;;
274
+ help|--help|-h)
275
+ show_help
276
+ ;;
277
+ "")
278
+ # No args: install if first time, help if already set up
279
+ if [ ! -f "$CONFIG" ]; then
280
+ bash "$INSTALL_DIR/install.sh"
281
+ else
282
+ show_help
283
+ fi
267
284
  ;;
268
285
  *)
269
286
  echo " Unknown command: $1"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "smoothie-code",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {