runset 0.0.3 → 0.0.4
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 +3 -3
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +2 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -200,9 +200,9 @@ show their status and duration: `✓ 2.1s`, `✗ code 1 · 2.1s`, or
|
|
|
200
200
|
`– stopped · 2.1s`. Failure and stop lines also name the command. These lines
|
|
201
201
|
follow the command's stdout settings, including grouping and redirection.
|
|
202
202
|
|
|
203
|
-
|
|
203
|
+
Long labelled lines are wrapped, with the label repeated on every line. Wrapping
|
|
204
204
|
uses the terminal width, or `COLUMNS` when no terminal width is available;
|
|
205
|
-
without either, lines stay whole.
|
|
205
|
+
without either, lines stay whole. `--no-wrap` or `wrap: false` turns it off.
|
|
206
206
|
|
|
207
207
|
## Config
|
|
208
208
|
|
|
@@ -352,7 +352,7 @@ setting from the config. `--no-color` is an alias for `--color none`.
|
|
|
352
352
|
| `--color <mode>` | `auto` (default), `none`, `basic`, `soft`, or `all`. |
|
|
353
353
|
| `--show-command` | Print each command when it starts; default: off. |
|
|
354
354
|
| `--show-exit-code` | Print each command's exit status and duration; default: off. |
|
|
355
|
-
|
|
|
355
|
+
| `--no-wrap` | Leave long labelled lines whole instead of wrapping them with the label repeated. |
|
|
356
356
|
| `--log-level <level>` | Filter runset's own messages: `error`, `warn`, `info` (default), or `debug`. Does not filter command output. |
|
|
357
357
|
|
|
358
358
|
### Configuration and help
|
package/dist/index.d.mts
CHANGED
|
@@ -121,7 +121,7 @@ export interface ConfigJs {
|
|
|
121
121
|
showExitCode?: boolean;
|
|
122
122
|
stderr?: Partial<Std> | string;
|
|
123
123
|
stdout?: Partial<Std> | string;
|
|
124
|
-
/** Wrap labelled lines to the terminal, labelling each piece. Default: `
|
|
124
|
+
/** Wrap labelled lines to the terminal, labelling each piece. Default: `true`. */
|
|
125
125
|
wrap?: boolean;
|
|
126
126
|
}
|
|
127
127
|
/** A config module may export the object itself or a sync factory for it. */
|
package/dist/index.mjs
CHANGED
|
@@ -878,7 +878,6 @@ const FLAGS = [
|
|
|
878
878
|
},
|
|
879
879
|
{
|
|
880
880
|
name: "wrap",
|
|
881
|
-
short: "w",
|
|
882
881
|
takesValue: false
|
|
883
882
|
},
|
|
884
883
|
{
|
|
@@ -1107,7 +1106,7 @@ var Config = class {
|
|
|
1107
1106
|
this.recursive = options.recursive ?? file.recursive ?? false;
|
|
1108
1107
|
this.showCommand = options.showCommand ?? file.showCommand ?? false;
|
|
1109
1108
|
this.showExitCode = options.showExitCode ?? file.showExitCode ?? false;
|
|
1110
|
-
this.wrap = options.wrap ?? file.wrap ??
|
|
1109
|
+
this.wrap = options.wrap ?? file.wrap ?? true;
|
|
1111
1110
|
this.envColumns = parseColumns(env.COLUMNS);
|
|
1112
1111
|
this.labels = options.labels ?? file.labels ?? "auto";
|
|
1113
1112
|
this.onSuccess = options.onSuccess ?? file.onSuccess ?? "continue";
|
|
@@ -2204,7 +2203,7 @@ Output:
|
|
|
2204
2203
|
none | auto | custom | all (default: auto)
|
|
2205
2204
|
--show-command print each command as it starts
|
|
2206
2205
|
--show-exit-code mark each exit and its duration: ✓ 2.1s, ✗ code 1 · 2.1s
|
|
2207
|
-
|
|
2206
|
+
--no-wrap leave long labelled lines whole instead of wrapping
|
|
2208
2207
|
|
|
2209
2208
|
General:
|
|
2210
2209
|
-c, --config <path> load a config file, skipping the default lookup
|
package/package.json
CHANGED