mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-22 16:02:46 +00:00
Update cheatsheets
This commit is contained in:
@@ -5,10 +5,11 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# bun link
|
||||
|
||||
> Bun command to register the current package as a linkable package.
|
||||
> Register a local package as linkable or link a registered package into a project.
|
||||
> See also: `bun unlink`.
|
||||
> More information: <https://bun.com/docs/pm/cli/link>.
|
||||
|
||||
- Link the package globally:
|
||||
- Link the current package globally:
|
||||
|
||||
`bun link`
|
||||
|
||||
@@ -16,18 +17,14 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`bun link {{package_name}}`
|
||||
|
||||
- Link directly from a local path:
|
||||
- Link a package in a specific directory:
|
||||
|
||||
`bun link {{path/to/package}}`
|
||||
`bun link --cwd {{path/to/package}}`
|
||||
|
||||
- Unlink a package:
|
||||
- Perform a dry run without actually linking:
|
||||
|
||||
`bun unlink {{package_name}}`
|
||||
|
||||
- Unlink a global package:
|
||||
|
||||
`bun unlink --global {{package_name}}`
|
||||
`bun link --dry-run`
|
||||
|
||||
- Display help:
|
||||
|
||||
`bun link --help`
|
||||
`bun link {{[-h|--help]}}`
|
||||
|
||||
Reference in New Issue
Block a user