Skip to content

Commit

Permalink
chore: updated the readme (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
MathurAditya724 authored Aug 9, 2024
1 parent f6498cb commit 1afc94a
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,30 +25,38 @@ deno run -A npm:create-hono@latest

## Options

### `--template`
### `-t, --template <template>`

You can specify the desired template from the command line. This is useful for automation, where you'd like to skip any interactive prompts.

```
npm create hono@latest ./my-app -- --template cloudflare-pages
```

### `--install`
### `-i, --install`

Install dependencies after cloning template.

```
npm create hono@latest ./my-app -- --install
```

### `--pm <pnpm|bun|npm|yarn>`
### `-p, --pm <pnpm|bun|npm|yarn>`

Allows you to specify which package manager to use.

```
npm create hono@latest ./my-app -- --pm pnpm
```

### `-o, --offline`

Use the local cache instead of fetching the latest templates.

```
npm create hono@latest ./my-app -- --offline
```

## Author

Yusuke Wada <https://github.com/yusukebe>
Expand Down

0 comments on commit 1afc94a

Please sign in to comment.