https://github.com/ferdodo/zx-run-task
Task runner for zx scripts.
https://github.com/ferdodo/zx-run-task
Last synced: about 1 year ago
JSON representation
Task runner for zx scripts.
- Host: GitHub
- URL: https://github.com/ferdodo/zx-run-task
- Owner: ferdodo
- License: mit
- Created: 2023-02-18T10:04:43.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-08T16:58:02.000Z (about 3 years ago)
- Last Synced: 2025-03-16T19:40:38.308Z (over 1 year ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zx-run-task
Handle zx commands as tasks, which only displays spinners unless the task fails.
```js
import { runTask } from "zx-run-task";
await runTask('Download example image', $`wget https://example.com/image.png`);
```