aboutsummaryrefslogtreecommitdiff
path: root/docs/cli
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-02-24 18:50:48 -0800
committerGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-02-24 18:50:48 -0800
commit39fa458895a5de8dbd75d87ff774a37a2617a572 (patch)
tree894bf8f750671fa5be1c8415b887b27c82b02719 /docs/cli
parenta6a0ccf6f06cbe08bbfe0994384c6c0f42ad8607 (diff)
downloadbun-39fa458895a5de8dbd75d87ff774a37a2617a572.tar.gz
bun-39fa458895a5de8dbd75d87ff774a37a2617a572.tar.zst
bun-39fa458895a5de8dbd75d87ff774a37a2617a572.zip
Fix indents
Diffstat (limited to 'docs/cli')
-rw-r--r--docs/cli/bunx.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/cli/bunx.md b/docs/cli/bunx.md
index e8374cab1..2949a0011 100644
--- a/docs/cli/bunx.md
+++ b/docs/cli/bunx.md
@@ -36,7 +36,7 @@ $ bunx my-cli
As with `npx`, `bunx` will check for a locally installed package first, then fall back to auto-installing the package from `npm`. Installed packages will be stored in Bun's global cache for future use.
-### Arguments and flags
+## Arguments and flags
To pass additional command-line flags and arguments through to the executable, place them after the executable name.
@@ -44,7 +44,7 @@ To pass additional command-line flags and arguments through to the executable, p
$ bunx my-cli --foo bar
```
-### Shebangs
+## Shebangs
By default, Bun respects shebangs. If an executable is marked with `#!/usr/bin/env node`, Bun will spin up a `node` process to execute the file. However, in some cases it may be desirable to run executables using [Bun's runtime](/docs/runtime), even if the executable indicates otherwise. To do so, include the `--bun` flag.