Skip to main content
Hugs › Reference

cliq hug new <name>

Scaffolds a hug: its definition, page, build and a test. In a team folder it writes hugs/<name>/; elsewhere <name>/. team.yml isn’t touched.

cliq hug dev [dir]

Shows the hug on cliqd’s local Hug page — no run, no Hug — rebuilding and reloading as you edit, with a panel showing its values, problems, Submit label, summary and calls. Needs cliqd running.

cliq hug build [dir]

Runs the hug’s own build (npm run build), then checks the bundle against the rules. cliq team publish refuses a team hug whose dist/ is out of date; cliq team publish --build builds the team’s hugs first.

cliq hug list

Every hug this machine can find — the team in the current folder (hugs/<name>/), the hugs path (CLIQ_HUGS_PATH or hugs.path), ~/.cliqrc/hugs — with where each comes from and its hash.

cliq hug files <phase> <input> <dir>

Saves the files people sent in a phase’s Hug into a folder, with files.json saying who sent what. See collecting a file in the review and CLI.