Commands



hof has several commands typically run during daily development. The first-example will introduce you to these commands and each has a dedicated section for the topic as well.

hof mod

Used for managing Hof and CUE modules.

# start a module
hof mod init cue hof.io/docs/example

# update the dependencies
hof mod vendor cue

See GitHub Issues for upcoming features.

hof gen

Used to generate code

hof gen [CUE entrypoints]

hof dm

Used for data model management

hof dm list
hof dm info
hof dm diff
hof dm checkpoint
hof dm history

hof dm -h

See the Data Modeling section for details.

2022 Hofstadter, Inc