cmd/

directory
v0.95.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2026 License: MIT

Directories

Path Synopsis
affected prints the Go packages whose test outcome could change given what differs between the working tree and a base ref, the way `nx affected` scopes a JavaScript monorepo.
affected prints the Go packages whose test outcome could change given what differs between the working tree and a base ref, the way `nx affected` scopes a JavaScript monorepo.
bench-resources measures binary size, peak RAM during `go build`, and runtime RAM (idle + under load) for the bench apps under benchmarks/apps/ plus cmd/gofastr and cmd/kiln.
bench-resources measures binary size, peak RAM during `go build`, and runtime RAM (idle + under load) for the bench apps under benchmarks/apps/ plus cmd/gofastr and cmd/kiln.
check-csp is a build-time linter that fails when production Go source emits inline <script> blocks.
check-csp is a build-time linter that fails when production Go source emits inline <script> blocks.
Command check-embed is the build-time gate for server actions on embeddable surfaces.
Command check-embed is the build-time gate for server actions on embeddable surfaces.
embedcheck
Package embedcheck is the build-time gate for server actions on embeddable surfaces.
Package embedcheck is the build-time gate for server actions on embeddable surfaces.
Command gofastr is the GoFastr CLI.
Command gofastr is the GoFastr CLI.
internal/agentscmd
Package agentscmd implements `gofastr agents`: the AI-agent instruction files a project ships, including the embedded host skill.
Package agentscmd implements `gofastr agents`: the AI-agent instruction files a project ships, including the embedded host skill.
internal/appgen
Package appgen renders Go source from a project's declarations: the app spec app, the derived generators (typed entities, client, CLI, SDK, endpoints, styles), and the canonical package copies.
Package appgen renders Go source from a project's declarations: the app spec app, the derived generators (typed entities, client, CLI, SDK, endpoints, styles), and the canonical package copies.
internal/appspec
Package appspec is the app spec model: the gofastr.yml types, their decoder, naming helpers, and the checks a spec must pass before anything renders from it.
Package appspec is the app spec model: the gofastr.yml types, their decoder, naming helpers, and the checks a spec must pass before anything renders from it.
internal/auditcmd
Package auditcmd implements `gofastr audit`: the accessibility, lint and PII audits over a project.
Package auditcmd implements `gofastr audit`: the accessibility, lint and PII audits over a project.
internal/buildcmd
Package buildcmd implements `gofastr build`: codegen, vet, the accessibility, sandbox and embed gates, then go build.
Package buildcmd implements `gofastr build`: codegen, vet, the accessibility, sandbox and embed gates, then go build.
internal/cli
Package cli is the CLI's shared process plumbing: version info, the exit indirection tests swap, terminal color and status-line helpers, and the help-flag check every subcommand uses.
Package cli is the CLI's shared process plumbing: version info, the exit indirection tests swap, terminal color and status-line helpers, and the help-flag check every subcommand uses.
internal/clitest
Package clitest holds test helpers the cmd/gofastr packages share.
Package clitest holds test helpers the cmd/gofastr packages share.
internal/desktopcmd
Package desktopcmd implements `gofastr desktop`: running, bundling, signing and publishing an app as a desktop application.
Package desktopcmd implements `gofastr desktop`: running, bundling, signing and publishing an app as a desktop application.
internal/devcmd
Package devcmd implements `gofastr dev`: the rebuild-on-change dev server with livereload.
Package devcmd implements `gofastr dev`: the rebuild-on-change dev server with livereload.
internal/docscmd
Package docscmd implements `gofastr docs`: browsing and serving the embedded framework docs.
Package docscmd implements `gofastr docs`: browsing and serving the embedded framework docs.
internal/exportcmd
Package exportcmd implements `gofastr export`: running the app and writing its pages out as static files.
Package exportcmd implements `gofastr export`: running the app and writing its pages out as static files.
internal/gates
Package gates holds the source checks `gofastr build` and `gofastr audit` both run: the accessibility gate and the sandbox gate.
Package gates holds the source checks `gofastr build` and `gofastr audit` both run: the accessibility gate and the sandbox gate.
internal/generatecmd
Package generatecmd implements `gofastr generate`: the generator dispatch, its flags, and watch mode.
Package generatecmd implements `gofastr generate`: the generator dispatch, its flags, and watch mode.
internal/harnesscmd
Package harnesscmd implements `gofastr harness`: the agent harness CLI, its credentials, HTTP and MCP surfaces.
Package harnesscmd implements `gofastr harness`: the agent harness CLI, its credentials, HTTP and MCP surfaces.
internal/initcmd
Package initcmd implements `gofastr init`: scaffolding a new project.
Package initcmd implements `gofastr init`: scaffolding a new project.
internal/loopback
Package loopback decides which hosts and origins a local-only CLI server (theme edit, harness HTTP) accepts: the bind address's loopback names, failing closed on anything else.
Package loopback decides which hosts and origins a local-only CLI server (theme edit, harness HTTP) accepts: the bind address's loopback names, failing closed on anything else.
internal/migratecmd
Package migratecmd implements `gofastr migrate`: applying, inspecting and repairing database migrations, and generating new ones.
Package migratecmd implements `gofastr migrate`: applying, inspecting and repairing database migrations, and generating new ones.
internal/newcmd
Package newcmd implements `gofastr new`: scaffolding a handler or a route into an existing project.
Package newcmd implements `gofastr new`: scaffolding a handler or a route into an existing project.
internal/packcmd
Package packcmd implements `gofastr pack`: recovering a best-effort app spec from a generated app's source.
Package packcmd implements `gofastr pack`: recovering a best-effort app spec from a generated app's source.
internal/project
Package project reads the project the CLI runs in: the enclosing go.mod and its gofastr requirement, build targets, and the CLI's own version and build info.
Package project reads the project the CLI runs in: the enclosing go.mod and its gofastr requirement, build targets, and the CLI's own version and build info.
internal/semanticcmd
Package semanticcmd implements `gofastr semantic`: semantic search over the project at the working directory.
Package semanticcmd implements `gofastr semantic`: semantic search over the project at the working directory.
internal/testcmd
Package testcmd implements `gofastr test`: go test over the project with colorized, counted output.
Package testcmd implements `gofastr test`: go test over the project with colorized, counted output.
internal/themecmd
Package themecmd implements `gofastr theme`: scaffolding a theme and the live theme editor with its write-back.
Package themecmd implements `gofastr theme`: scaffolding a theme and the live theme editor with its write-back.
internal/unmountcmd
Package unmountcmd implements `gofastr unmount` and `gofastr remount`: copying a framework package into the project and putting it back.
Package unmountcmd implements `gofastr unmount` and `gofastr remount`: copying a framework package into the project and putting it back.
internal/upgradecmd
Package upgradecmd implements `gofastr upgrade`: the release notes between two versions and the edits they call for.
Package upgradecmd implements `gofastr upgrade`: the release notes between two versions and the edits they call for.
internal/validatecmd
Package validatecmd implements `gofastr validate`: checking an app spec without generating.
Package validatecmd implements `gofastr validate`: checking an app spec without generating.
internal/verifycmd
Package verifycmd implements `gofastr verify`: the contracts pipeline, go vet with the repo vettool, and the vettool handoff.
Package verifycmd implements `gofastr verify`: the contracts pipeline, go vet with the repo vettool, and the vettool handoff.
packages
Package packages carries the canonical chrome packages into the gofastr binary.
Package packages carries the canonical chrome packages into the gofastr binary.
packages/docpage
Package docpage is the app's help/docs page: the article nav on the left, the article in the middle, the table of contents on the right, and a previous/next pager under the article.
Package docpage is the app's help/docs page: the article nav on the left, the article in the middle, the table of contents on the right, and a previous/next pager under the article.
packages/sitefooter
Package sitefooter is the app's colophon, built the way siteheader builds the top bar: plain html elements composed here, the look in sitefooter.style.css (an owned style; `gofastr gen styles` writes the class methods in sitefooter_style.gen.go), and every dimension a theme token.
Package sitefooter is the app's colophon, built the way siteheader builds the top bar: plain html elements composed here, the look in sitefooter.style.css (an owned style; `gofastr gen styles` writes the class methods in sitefooter_style.gen.go), and every dimension a theme token.
packages/siteheader
Package siteheader is the app's top bar, built the way an app builds any piece of chrome the framework does not ship:
Package siteheader is the app's top bar, built the way an app builds any piece of chrome the framework does not ship:
kiln is the Kiln runtime CLI.
kiln is the Kiln runtime CLI.
Command mutate breaks the conditional guards in a package one at a time and reports which ones no test notices.
Command mutate breaks the conditional guards in a package one at a time and reports which ones no test notices.
guardmut
Package guardmut finds the conditional guards in a Go source file and rewrites them so they can never fire, or always fire.
Package guardmut finds the conditional guards in a Go source file and rewrites them so they can never fire, or always fire.
vettool runs GoFastr's analyzer suite (internal/analyzers/suite) for `go vet -vettool` over this repo.
vettool runs GoFastr's analyzer suite (internal/analyzers/suite) for `go vet -vettool` over this repo.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL