mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-23 23:51:51 +00:00
Update cheatsheets
This commit is contained in:
37
tldr/bun-init
Normal file
37
tldr/bun-init
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# bun init
|
||||
|
||||
> Scaffold an empty Bun project.
|
||||
> More information: <https://bun.com/docs/runtime/templating/init>.
|
||||
|
||||
- Initialize a Bun project in the current directory:
|
||||
|
||||
`bun init`
|
||||
|
||||
- Initialize in a specific directory:
|
||||
|
||||
`bun init {{path/to/directory}}`
|
||||
|
||||
- Initialize with a specific project name:
|
||||
|
||||
`bun init {{[-n|--name]}} {{project_name}}`
|
||||
|
||||
- Initialize a project with default prompts:
|
||||
|
||||
`bun init {{[-y|--yes]}}`
|
||||
|
||||
- Initialize a minimal project:
|
||||
|
||||
`bun init {{[-m|--minimal]}}`
|
||||
|
||||
- Initialize a React project:
|
||||
|
||||
`bun init {{[-r|--react]}}`
|
||||
|
||||
- Initialize a React project with Tailwind CSS:
|
||||
|
||||
`bun init --react=tailwind`
|
||||
Reference in New Issue
Block a user