nova-control-command 0.0.1 → 0.0.2

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 +18 -2
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -16,11 +16,27 @@ CLI for controlling a **NOVA DIY Artificial Intelligence Robot** by Creoqode. Pr
16
16
 
17
17
  ## Installation
18
18
 
19
+ **Global install** — installs the `nova-control` binary on the `PATH`:
20
+
19
21
  ```bash
20
- npm install nova-control-command
22
+ npm install -g nova-control-command
23
+ nova-control --port /dev/ttyACM0 home
24
+ ```
25
+
26
+ **No install — run directly with `npx`:**
27
+
28
+ ```bash
29
+ npx nova-control-command --port /dev/ttyACM0 home
30
+ npx nova-control-command --port /dev/ttyACM0 shell
21
31
  ```
22
32
 
23
- After installation the `nova-control` binary is available in the project's `node_modules/.bin/` directory and when installed globally directly on the `PATH`.
33
+ `npx` downloads the package on first use and caches it locally. All examples in this document use the `nova-control` binary name (global install); substitute `npx nova-control-command` when running via npx.
34
+
35
+ **Local install** — adds the binary to `node_modules/.bin/`:
36
+
37
+ ```bash
38
+ npm install nova-control-command
39
+ ```
24
40
 
25
41
  ---
26
42
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nova-control-command",
3
3
  "description": "CLI for controlling a NOVA DIY Artificial Intelligence Robot by Creoqode",
4
- "version": "0.0.1",
4
+ "version": "0.0.2",
5
5
  "type": "module",
6
6
  "keywords": [
7
7
  "nova",
@@ -21,7 +21,8 @@
21
21
  },
22
22
  "license": "MIT",
23
23
  "bin": {
24
- "nova-control": "./dist/nova-control-command.js"
24
+ "nova-control": "./dist/nova-control-command.js",
25
+ "nova-control-command": "./dist/nova-control-command.js"
25
26
  },
26
27
  "files": [
27
28
  "dist"