Cli
The cli provides various commands to manage your project lifecycle, from creation to deployment.
Create Project
Section titled “Create Project”frizzante -cMyProject# orfrizzante --create-project MyProjectCreates a new project in a new directory using the given name.
DirectoryMyProject
- main.go
- …
Directoryapp
- index.html
- …
Generate
Section titled “Generate”frizzante -g# orfrizzante --generateThis command generates code and/or resources.
Configure
Section titled “Configure”frizzante --configureRuns —generate=“air,bun”, —install and then —package.
This will generate Air and Bun binaries in .gen/{air,bun}.
Directory.gen
Directoryair
- air
Directorybun
- bun
Install
Section titled “Install”frizzante -i# orfrizzante --installInstalls Go and JavaScript packages from go.mod and app/package.json.
- go.mod
Directoryapp
- package.json
Update
Section titled “Update”frizzante -u# orfrizzante --updateUpdates Go and JavaScript packages from go.mod and app/package.json.
- go.mod
Directoryapp
- package.json
Package
Section titled “Package”frizzante -p# orfrizzante --packageRuns vite build and vite build --ssr in order to package the the app directory into app/dist.
Directoryapp
Directorydist
Directoryclient
Directoryassets
- index-{hash}.css
- index-{hash}.js
- …
- index.html
- app.server.js
The output contains a client directory which can be simply served as is to the client and a app.server.js file that can be executed on the server in order to render the contents of the application in advanced.
Package Watch
Section titled “Package Watch”frizzante --package-watchRuns —package in watch mode.
frizzante -d# orfrizzante --devRuns Air and —package-watch in parallel.
frizzante -b# orfrizzante --buildRuns —package and then builds the Go program in .gen/bin/app.
Directory.gen
Directorybin
- app
frizzante --checkRuns eslint and svelte-check in your app directory in order to detect code syntax and style errors.
Format
Section titled “Format”frizzante -f# orfrizzante --formatThis will run go fmt ./... and prettier --write . in your app directory.
frizzante --touchCreates placeholder files in app/dist.
Clean Project
Section titled “Clean Project”frizzante --clean-projectRemoves directories .gen, .vite, app/dist, app/node_modules and then runs —touch.
frizzante --resetDeletes frizzante’s global cache.
Additional Options
Section titled “Additional Options”Confirmation
Section titled “Confirmation”frizzante -y# orfrizzante --yesAutomatically confirms all prompts without user interaction.
This is useful for ci/cd pipelines, automated scripts, batch operations.
Version
Section titled “Version”frizzante -v# orfrizzante --versionDisplays the version of the binary.
frizzante -h# orfrizzante --helpShows the complete list of available commands and options.
Interactive Mode
Section titled “Interactive Mode”frizzanteRunning frizzante without any flags starts an interactive menu where you can select commands using arrow keys.
This is useful if
- you’re learning the available commands
- you’re not sure which command to use
- you prefer a guided interface