@revenexx/cli 0.2.0 → 0.2.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.
package/README.md CHANGED
@@ -13,7 +13,7 @@ Revenexx command-line interface for managing your platform.
13
13
 
14
14
  ## Installation
15
15
 
16
- The Revenexx CLI is a Node based command line tool to help you interact with the Revenexx API. The CLI is distributed both as an [`npm package`](https://www.npmjs.com/package/@revenexx/cli) as well as [pre built binaries](https://github.com/revenexx-sdks/cli/releases/latest) for specific operating systems and architectures.
16
+ The Revenexx CLI is a command line tool to help you interact with the Revenexx API. Install it from [npm](https://www.npmjs.com/package/@revenexx/cli) or, on macOS and Linux, with [Homebrew](https://brew.sh) the Homebrew formula installs a self-contained binary, so no Node.js is needed. Single-file binaries for every supported platform are also attached to each [GitHub release](https://github.com/revenexx-sdks/cli/releases/latest) for manual download.
17
17
 
18
18
  ### Install using NPM
19
19
  ---
@@ -28,41 +28,49 @@ Once the installation is complete, you can verify the install using
28
28
 
29
29
  ```sh
30
30
  $ revenexx -v
31
- 0.2.0
31
+ 0.2.1
32
32
  ```
33
33
 
34
- ### Install using prebuilt binaries
34
+ ### MacOS / Linux via [Homebrew](https://brew.sh)
35
35
  ---
36
36
 
37
- If you do not have `npm` installed, you can always install the prebuilt binaries for your architecture and OS using our convenient installation scripts.
37
+ The CLI ships its own tap, [`revenexx-sdks/homebrew-cli`](https://github.com/revenexx-sdks/homebrew-cli) (Homebrew strips the `homebrew-` prefix, so it is addressed as `revenexx-sdks/cli`). No Node.js needed the formula installs the prebuilt binary for your platform:
38
38
 
39
- ### Linux / MacOS Terminal
40
39
  ```bash
41
- $ wget -q https://revenexx.com/cli/install.sh -O - | /bin/bash
40
+ $ brew install revenexx-sdks/cli/revenexx
42
41
  ```
43
42
 
44
- ### MacOS via [Homebrew](https://brew.sh)
45
-
46
- > **Coming soon** — Homebrew support is not yet available.
43
+ Or add the tap once and refer to the formula by name afterwards:
47
44
 
48
45
  ```bash
46
+ $ brew tap revenexx-sdks/cli
49
47
  $ brew install revenexx
50
48
  ```
51
49
 
52
- ### Windows
53
- Via Powershell
54
- ```powershell
55
- $ iwr -useb https://revenexx.com/cli/install.ps1 | iex
50
+ Upgrading to a newer release:
51
+
52
+ ```bash
53
+ $ brew update && brew upgrade revenexx-sdks/cli/revenexx
56
54
  ```
57
- Via [Scoop](https://scoop.sh)
58
- ```powershell
59
- $ scoop install https://raw.githubusercontent.com/revenexx-sdks/cli/master/scoop/revenexx.config.json
55
+
56
+ `revenexx update` detects a Homebrew install and runs those two commands for you.
57
+
58
+ ### Manual download
59
+ ---
60
+
61
+ Every release attaches a single-file binary per platform — `revenexx-darwin-arm64`, `revenexx-linux-x64`, `revenexx-win-x64.exe` and so on. Grab the one for your platform from the [latest release](https://github.com/revenexx-sdks/cli/releases/latest), make it executable, and put it on your `PATH`:
62
+
63
+ ```bash
64
+ $ chmod +x revenexx-darwin-arm64
65
+ $ mv revenexx-darwin-arm64 /usr/local/bin/revenexx
60
66
  ```
61
67
 
68
+ On Windows, use `npm` — or download the `.exe` from the same release page.
69
+
62
70
  Once the installation completes, you can verify your install using
63
71
  ```
64
72
  $ revenexx -v
65
- 0.2.0
73
+ 0.2.1
66
74
  ```
67
75
 
68
76
  ## Getting Started
package/dist/cli.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../cli.ts"],"names":[],"mappings":";AAEA,OAAO,eAAe,CAAC;AA4DvB,OAAO,gCAAgC,CAAC"}
1
+ {"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../cli.ts"],"names":[],"mappings":";AAEA,OAAO,eAAe,CAAC;AA2DvB,OAAO,gCAAgC,CAAC"}