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 MyProject
Creates a new project in a new directory using the given name.
DirectoryMyProject
- main.go
- …
Directoryapp
- index.html
- …
Generate
Section titled “Generate”frizzante -g# orfrizzante --generate
This command generates code and/or resources.
Configure
Section titled “Configure”frizzante --configure
Runs —generate=“air,bun” and then —install.
This will generate Air and Bun binaries in .gen/{air,bun}
.
Directory.gen
Directoryair
- air
Directorybun
- bun
Install
Section titled “Install”frizzante -i# orfrizzante --install
Installs Go and JavaScript packages from go.mod
and app/package.json
.
- go.mod
Directoryapp
- package.json
Update
Section titled “Update”frizzante -u# orfrizzante --update
Updates Go and JavaScript packages from go.mod
and app/package.json
.
- go.mod
Directoryapp
- package.json
Package
Section titled “Package”frizzante -p# orfrizzante --package
Runs 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
- server.js
The output contains a client
directory which can be simply served as is to the client and a 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-watch
Runs —package in watch mode.
frizzante -d# orfrizzante --dev
Runs Air and —package-watch in parallel.
frizzante -b# orfrizzante --build
Runs —package and then builds the Go program in .gen/bin/app
.
Directory.gen
Directorybin
- app
frizzante --check
Runs eslint
and svelte-check
in your app
directory in order to detect code syntax and style errors.
Format
Section titled “Format”frizzante -f# orfrizzante --format
This will run go fmt ./...
and prettier --write .
in your app
directory.
frizzante --touch
Creates placeholder files in app/dist
.
Clean Project
Section titled “Clean Project”frizzante --clean-project
Removes directories .gen
, .vite
, app/dist
, app/node_modules
and then runs —touch.
frizzante --reset
Deletes frizzante’s global cache.
Additional Options
Section titled “Additional Options”Confirmation
Section titled “Confirmation”frizzante -y# orfrizzante --yes
Automatically confirms all prompts without user interaction.
This is useful for ci/cd pipelines, automated scripts, batch operations.
Version
Section titled “Version”frizzante -v# orfrizzante --version
Displays the version of the binary.
frizzante -h# orfrizzante --help
Shows the complete list of available commands and options.
Interactive Mode
Section titled “Interactive Mode”frizzante
Running 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