# Workflow
At a high-level, the workflow for using cff is as follows:
- Add
//go:build cff
to the top of the file if it's not already present. - Use functions defined in the go.uber.org/cff package.
- Run
go generate
if you added a//go:generate
directive, or manually runcff ./...
if you didn't. - Run
go build
orgo test
as usual. - Commit the generated code to your repository.