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