shell-dsl 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
CHANGED
|
@@ -440,7 +440,7 @@ import { builtinCommands } from "shell-dsl/commands";
|
|
|
440
440
|
Or import individually:
|
|
441
441
|
|
|
442
442
|
```ts
|
|
443
|
-
import { echo, cat, grep, wc, cp, mv, touch, tee } from "shell-dsl/commands";
|
|
443
|
+
import { echo, cat, grep, wc, cp, mv, touch, tee, tree } from "shell-dsl/commands";
|
|
444
444
|
```
|
|
445
445
|
|
|
446
446
|
| Command | Description |
|
|
@@ -461,6 +461,7 @@ import { echo, cat, grep, wc, cp, mv, touch, tee } from "shell-dsl/commands";
|
|
|
461
461
|
| `mv` | Move/rename files/directories (`-n` no-clobber) |
|
|
462
462
|
| `touch` | Create empty files or update timestamps (`-c` no-create) |
|
|
463
463
|
| `tee` | Duplicate stdin to stdout and files (`-a` append) |
|
|
464
|
+
| `tree` | Display directory structure as tree (`-a` all, `-d` dirs only, `-L <n>` depth) |
|
|
464
465
|
| `test` / `[` | File and string tests (`-f`, `-d`, `-e`, `-z`, `-n`, `=`, `!=`) |
|
|
465
466
|
| `true` | Exit with code 0 |
|
|
466
467
|
| `false` | Exit with code 1 |
|
package/dist/cjs/package.json
CHANGED
package/dist/mjs/package.json
CHANGED
package/package.json
CHANGED