CLI

One command line for pieces, theme, logo and video. It runs with npx, with nothing to install.

Command

Terminal
npx @usefluid/cli <command>
CommandWhat it does
listEvery piece, by family.
add <pieces>Copies pieces into src/components/fluid/, with the pieces they use. --dir changes the folder and --overwrite replaces files you already have.
initWrites the theme with the ten --fluid-* variables. --out sets the file.
logo <file.svg>Fits an SVG logo into the 120 x 120 path the pieces use, and writes it as a module. --out sets the file.
record <url>Records a page as an MP4, frame by frame. --format story, post, square or wide; --seconds and --fps.