Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/no-turno/bunstacks-dsh
https://github.com/no-turno/bunstacks-dsh
bunjs experimental js shell-script ts
Last synced: 20 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/no-turno/bunstacks-dsh
- Owner: no-turno
- Created: 2024-02-28T21:41:33.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-28T21:45:21.000Z (9 months ago)
- Last Synced: 2024-10-16T11:05:03.758Z (about 1 month ago)
- Topics: bunjs, experimental, js, shell-script, ts
- Language: TypeScript
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @gyoza-labs/dbs
define bun scripts.
Run shell scripts and workflow tasks using `filename`
```ts
// bun.repl.--sloppy.ts
import { dsh } from "./src/lib/dsh.ts"
await dsh(import.meta.file)// Will attach the bun-repl to process.
``````ts
// node.--help.ts
import { dsh } from "./src/lib/dsh.ts"
await dsh(import.meta.file)
// your current $NODE_VERSION
```> This is an experiment using the [bun shell module](https://bun.sh/docs/runtime/shell) as filename parser to valid shell command