Discover Packages
github.com/mkelvers/templ
cmd
templ
lifecyclecmd
package
Version:
v0.4.0
Opens a new window with list of versions in this module.
Published: Jul 17, 2026
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Jump to ...
Documentation
Overview
Index
Constants
Variables
Functions
Build(ctx, start, args, stdin, stdout, stderr)
Check(ctx, start, args, stdin, stdout, stderr)
Dev(ctx, start, command, stdout, stderr)
Types
Source Files
Documentation
Documentation
¶
Package lifecyclecmd implements tempo's sync-first development commands.
func Build(ctx context.Context, start string, args []string, stdin io.Reader, ...) error
func Check(ctx context.Context, start string, args []string, stdin io.Reader, ...) error
func Dev(ctx context.Context, start, command string, stdout, stderr io.Writer) error
Build refreshes .tempo and runs go build from the module root.
Check refreshes .tempo and runs go test against both the hidden package and
the packages discovered by ./....
Dev refreshes .tempo, watches .templ source files, and restarts command after
each successful regeneration. An empty command runs generation-only mode.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.