Skip to content

Commit

Permalink
fix cli command not working
Browse files Browse the repository at this point in the history
  • Loading branch information
jhmaster2000 committed Aug 7, 2022
1 parent 6f85dbe commit 285699f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ bun add -g bun-repl

## Usage
```
bun repl
bun run repl
```
Type `.help` within the REPL for a list of commands.

Expand Down
2 changes: 2 additions & 0 deletions bun-repl-cli.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env bash
bun "$BUN_INSTALL/install/global/node_modules/bun-repl/src/repl.ts"
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"type": "module",
"name": "bun-repl",
"version": "1.0.0",
"version": "1.0.0-fix.3",
"description": "Experimental unofficial REPL for Bun",
"main": "src/repl.ts",
"scripts": {
Expand All @@ -27,6 +27,6 @@
"typescript": "^4.7.4"
},
"bin": {
"repl": "src/repl.ts"
"repl": "./bun-repl-cli.sh"
}
}

0 comments on commit 285699f

Please sign in to comment.