- Show help text when `-h` or `--help` is passed to `@fresh/init` - Print current version for `@fresh/init` during `--help` <img width="367" height="95" alt="image" src="https://github.com/user-attachments/assets/e3318fae-ce8a-4cbb-bb0a-78f338f1b3a2" /> - Refresh `--help` text with colors similar to `deno -h`; + "Fresh branding" style for the `@fresh/init` text - Print `@fresh/core` version when `@fresh/init` runs <img width="471" height="88" alt="image" src="https://github.com/user-attachments/assets/1a0bd619-315d-4abb-889c-ec6eb3a9b45f" /> I think showing versions is helpful for verifying/debugging what Fresh version will be installed during init before all files are generated. ## Comparisons ### `@fresh/init` + empty project name #### Before <img width="1104" height="615" alt="image" src="https://github.com/user-attachments/assets/b1534bb5-eecc-4692-9977-df3903868416" /> #### After <img width="1169" height="695" alt="image" src="https://github.com/user-attachments/assets/6a743d79-bb59-463a-aadd-fbf734149258" /> ### `@fresh/init --help` #### Before <img width="1007" height="150" alt="image" src="https://github.com/user-attachments/assets/0ad42078-420c-4dc6-9561-4a338cc09741" /> #### After <img width="1272" height="579" alt="image" src="https://github.com/user-attachments/assets/3dfe6712-8604-4429-a418-5e6538117303" />
Create a new Fresh project.
This is a CLI tool to bootstrap a new Fresh project. To do so, run this command:
deno run -Ar jsr:@fresh/init
Go to https://fresh.deno.dev/ for more information about Fresh.