@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 +25 -17
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.mjs +7179 -1323
- package/dist/index.cjs +3 -1
- package/dist/index.js +3 -1
- package/dist/lib/commands/services/forms.d.ts.map +1 -1
- package/dist/lib/commands/services/orders.d.ts.map +1 -1
- package/dist/lib/commands/update.d.ts +22 -0
- package/dist/lib/commands/update.d.ts.map +1 -1
- package/dist/lib/constants.d.ts +3 -1
- package/dist/lib/constants.d.ts.map +1 -1
- package/dist/lib/tui/executor.d.ts +0 -9
- package/dist/lib/tui/executor.d.ts.map +1 -1
- package/dist/tests/executor.test.d.ts +2 -0
- package/dist/tests/executor.test.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/lib/commands/services/greetings.d.ts +0 -3
- package/dist/lib/commands/services/greetings.d.ts.map +0 -1
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
|
|
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.
|
|
31
|
+
0.2.1
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
###
|
|
34
|
+
### MacOS / Linux via [Homebrew](https://brew.sh)
|
|
35
35
|
---
|
|
36
36
|
|
|
37
|
-
|
|
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
|
-
$
|
|
40
|
+
$ brew install revenexx-sdks/cli/revenexx
|
|
42
41
|
```
|
|
43
42
|
|
|
44
|
-
|
|
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
|
-
|
|
53
|
-
|
|
54
|
-
```
|
|
55
|
-
$
|
|
50
|
+
Upgrading to a newer release:
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
$ brew update && brew upgrade revenexx-sdks/cli/revenexx
|
|
56
54
|
```
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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.
|
|
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;
|
|
1
|
+
{"version":3,"file":"cli.d.ts","sourceRoot":"","sources":["../cli.ts"],"names":[],"mappings":";AAEA,OAAO,eAAe,CAAC;AA2DvB,OAAO,gCAAgC,CAAC"}
|