@lvnt/release-radar-cli 0.2.7 → 0.2.9

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/README.md +124 -0
  2. package/package.json +3 -2
package/README.md ADDED
@@ -0,0 +1,124 @@
1
+ # release-radar-cli
2
+
3
+ Interactive CLI for downloading development tools through a Nexus proxy. Companion tool to [@lvnt/release-radar](https://www.npmjs.com/package/@lvnt/release-radar).
4
+
5
+ ## Why?
6
+
7
+ In corporate/intranet environments with restricted internet access, downloading tools directly isn't possible. This CLI:
8
+
9
+ - Downloads tools through your Nexus proxy server
10
+ - Tracks which versions you've downloaded
11
+ - Shows available updates at a glance
12
+ - Supports both wget downloads and npm global packages
13
+
14
+ ## Installation
15
+
16
+ ```bash
17
+ npm install -g @lvnt/release-radar-cli
18
+ ```
19
+
20
+ ## Quick Start
21
+
22
+ ```bash
23
+ # Run interactive mode
24
+ release-radar-cli
25
+
26
+ # First run will prompt for configuration:
27
+ # - Nexus proxy URL (e.g., https://nexus.company.com/repository/raw-proxy)
28
+ # - Download directory (e.g., ~/downloads/tools)
29
+ ```
30
+
31
+ ## Commands
32
+
33
+ | Command | Description |
34
+ |---------|-------------|
35
+ | `release-radar-cli` | Interactive mode - select and download tools |
36
+ | `release-radar-cli status` | Show all tool versions and download status |
37
+ | `release-radar-cli config` | Configure or reconfigure settings |
38
+ | `release-radar-cli version` | Show CLI version |
39
+ | `release-radar-cli help` | Show help message |
40
+
41
+ ## Options
42
+
43
+ | Option | Description |
44
+ |--------|-------------|
45
+ | `-v, --version` | Show version number |
46
+ | `-h, --help` | Show help |
47
+ | `--skip-update` | Skip auto-update check on startup |
48
+
49
+ ## Interactive Mode
50
+
51
+ When you run `release-radar-cli`, you'll see a table of available tools:
52
+
53
+ ```
54
+ Tool Latest Downloaded Status Type
55
+ ──────────────────────────────────────────────────────────────────────
56
+ Claude Code CLI 1.0.17 1.0.16 UPDATE wget
57
+ Ninja 1.12.1 1.12.1 ✓ wget
58
+ CMake 4.0.1 - NEW wget
59
+ Ralphy 1.2.0 1.2.0 ✓ npm
60
+ ```
61
+
62
+ Select tools with arrow keys and spacebar, then press Enter to download.
63
+
64
+ ## Status Display
65
+
66
+ ```bash
67
+ release-radar-cli status
68
+ ```
69
+
70
+ Shows versions without interactive prompts - useful for scripts or quick checks.
71
+
72
+ ## Configuration
73
+
74
+ Config is stored at `~/.release-radar-cli/config.json`:
75
+
76
+ ```json
77
+ {
78
+ "nexusUrl": "https://nexus.company.com/repository/raw-proxy",
79
+ "downloadDir": "/home/user/downloads/tools"
80
+ }
81
+ ```
82
+
83
+ To reconfigure:
84
+
85
+ ```bash
86
+ release-radar-cli config
87
+ ```
88
+
89
+ ## Download Types
90
+
91
+ ### wget (Binary Downloads)
92
+
93
+ Downloads files through Nexus proxy using wget:
94
+ - Claude Code CLI
95
+ - Ninja
96
+ - CMake
97
+ - Git
98
+ - Clangd
99
+ - Wezterm
100
+ - VS Code Extensions
101
+
102
+ ### npm (Global Packages)
103
+
104
+ Updates npm packages globally:
105
+ - Ralphy
106
+
107
+ ## Auto-Update
108
+
109
+ The CLI checks for updates on startup and automatically updates itself if a newer version is available. Skip this with `--skip-update`.
110
+
111
+ ## How It Works
112
+
113
+ 1. **ReleaseRadar service** monitors tool versions and publishes updates to this CLI
114
+ 2. **This CLI** reads the embedded `versions.json` containing latest versions and download URLs
115
+ 3. **You select** which tools to download
116
+ 4. **CLI downloads** through your configured Nexus proxy
117
+
118
+ ## Related
119
+
120
+ - [@lvnt/release-radar](https://www.npmjs.com/package/@lvnt/release-radar) - The monitoring service that powers this CLI
121
+
122
+ ## License
123
+
124
+ ISC
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvnt/release-radar-cli",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "Interactive CLI for downloading tools through Nexus proxy",
5
5
  "main": "dist/index.js",
6
6
  "bin": {
@@ -16,7 +16,8 @@
16
16
  "files": [
17
17
  "dist",
18
18
  "bin",
19
- "versions.json"
19
+ "versions.json",
20
+ "README.md"
20
21
  ],
21
22
  "keywords": [
22
23
  "release",