1
0
Fork 0
mirror of https://github.com/kou029w/_.git synced 2025-04-17 01:59:36 +00:00

update tasks.md

This commit is contained in:
Nebel 2025-04-09 16:19:01 +09:00
parent a2d2d92e8e
commit 346d72f132
Signed by: nebel
GPG key ID: 79807D08C6EF6460

View file

@ -3,8 +3,7 @@
```
$ deno -A npm:zx tasks.md [task]
: or
$ npm i -g zx
$ zx tasks.md [task]
$ npx zx tasks.md [task]
```
```js
@ -14,7 +13,8 @@ const task = {
cowsay,
}[argv._[0]];
await (task ?? help)();
$.verbose = true;
await task?.().then(process.exit);
```
## `build`
@ -51,8 +51,6 @@ async function cowsay() {
このテキストの表示
```js
async function help() {
await $`cat ${__filename} >&2`;
}
```sh
cat "${__filename}"
```