rmbg2-cli 0.4.1 → 0.5.0

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 +12 -3
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -135,17 +135,26 @@ needed:
135
135
  rmbg photo.jpg --device cpu
136
136
  ```
137
137
 
138
+ Interactive terminals show a purple-to-pink animated processing indicator and
139
+ the output path when processing completes. Redirected runs stay quiet unless
140
+ `--verbose` is used, so scripts do not receive cursor-control output.
141
+
138
142
  | Flag | Description |
139
143
  |------|-------------|
140
144
  | `-o, --output <PATH>` | Output PNG path (default: `<input>-no-bg.png`) |
141
145
  | `--background <COLOR>` | Solid background (`#RRGGBB`, `R,G,B`, `white`, `black`) |
142
146
  | `--device <DEVICE>` | `auto`, `cuda`, `mps`, or `cpu` (default: `auto`) |
143
147
  | `-v, --verbose` | Print model, device, revision, and output details |
148
+ | `--color <WHEN>` | `auto`, `always`, or `never` (default: `auto`) |
144
149
  | `-h, --help` | Show help |
145
150
 
146
- `rmbg setup [--device auto|cuda|mps|cpu]` prepares and validates all local
147
- runtime prerequisites. Because `setup` is reserved as a command, process a file
148
- with that exact name as `rmbg ./setup`.
151
+ Color is enabled automatically for supported terminals and can also be
152
+ controlled with `NO_COLOR`, `CLICOLOR`, and `CLICOLOR_FORCE`. Animation is
153
+ restricted to interactive stderr even when color is forced.
154
+
155
+ `rmbg setup [--device auto|cuda|mps|cpu] [--color auto|always|never]` prepares
156
+ and validates all local runtime prerequisites. Because `setup` is reserved as a
157
+ command, process a file with that exact name as `rmbg ./setup`.
149
158
 
150
159
  Exit code `1` indicates invalid input or a setup action the user must complete,
151
160
  such as installing uv, authenticating non-interactively, or accepting model
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rmbg2-cli",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
4
  "description": "Remove image backgrounds locally with BRIA RMBG-2.0",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -21,10 +21,10 @@
21
21
  "LICENSE"
22
22
  ],
23
23
  "optionalDependencies": {
24
- "rmbg2-cli-darwin-arm64": "0.4.1",
25
- "rmbg2-cli-linux-arm64-gnu": "0.4.1",
26
- "rmbg2-cli-linux-x64-gnu": "0.4.1",
27
- "rmbg2-cli-windows-x64": "0.4.1"
24
+ "rmbg2-cli-darwin-arm64": "0.5.0",
25
+ "rmbg2-cli-linux-arm64-gnu": "0.5.0",
26
+ "rmbg2-cli-linux-x64-gnu": "0.5.0",
27
+ "rmbg2-cli-windows-x64": "0.5.0"
28
28
  },
29
29
  "scripts": {
30
30
  "check:versions": "node npm/scripts/check-versions.js",